php - Nginx redirect all requests from subdirectory to another subdirectory root - Stack Overflow (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (Stack Overflow) (https://stackoverflow.com/opensearch.xml) (https://stackoverflow.com/questions/22224441/nginx-redirect-all-requests-from-subdirectory-to-another-subdirectory-root) (Feed for question 'Nginx redirect all requests from subdirectory to another subdirectory root') (https://stackoverflow.com/feeds/question/22224441) (site logo) By clicking “Sign up”, you agree to our (https://stackoverflow.com/legal/terms-of-service/public) terms of service and acknowledge you have read our (https://stackoverflow.com/legal/privacy-policy) privacy policy . Sign up with Google Sign up with GitHub OR Email Password (8+ characters (at least 1 letter & 1 number)) Sign up Already have an account? (https://stackoverflow.com/users/login) Log in Skip to main content (https://stackoverflow.com/) Stack Overflow (https://stackoverflow.co/) About Products (https://stackoverflow.co/teams/) For Teams (Search…) (Click to show search) (https://stackoverflow.com/users/login?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f22224441%2fnginx-redirect-all-requests-from-subdirectory-to-another-subdirectory-root) Log in (https://stackoverflow.com/users/signup?ssrc=head&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f22224441%2fnginx-redirect-all-requests-from-subdirectory-to-another-subdirectory-root) Sign up Let's set up your homepage Select a few topics you're interested in: python javascript c# reactjs java android html flutter c++ node.js typescript css r php angular next.js spring-boot machine-learning sql excel ios azure docker Or search from our full list: (Search) Next You’ll be prompted to create an account to view your personalized homepage. (https://stackoverflow.com/) Home (https://stackoverflow.com/questions) Questions (https://stackoverflow.ai/) AI Assist Labs (https://stackoverflow.com/tags) Tags (https://stackoverflow.com/beta/challenges) Challenges (https://chat.stackoverflow.com/rooms/259507/stack-overflow-lobby) Chat (https://stackoverflow.blog/contributed?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=so-blog&utm_content=experiment-articles) Articles (https://stackoverflow.com/users) Users (https://stackoverflow.com/jobs?source=so-left-nav) Jobs (https://stackoverflow.com/jobs/companies?so_medium=stackoverflow&so_source=SiteNav) Companies Collectives Communities for your favorite technologies. (https://stackoverflow.com/collectives-all) Explore all Collectives Teams Ask questions, find answers and collaborate at work with Stack Overflow for Teams. (https://stackoverflowteams.com/teams/create/free/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Try Teams for free (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=side-bar&utm_content=explore-teams) Explore Teams (Illustration of upvote icon after it is clicked) Hang on, you can't upvote just yet. You'll need to complete a few actions and gain 15 reputation points before being able to upvote. Upvoting indicates when questions and answers are useful. (https://stackoverflow.com/help/whats-reputation) What's reputation and how do I get it? Instead, you can save this post to reference later. Save this post for later Not now (Illustration of upvote icon after it is clicked) Thanks for your vote! You now have 5 free votes weekly. Free votescount toward the total vote score does not give reputation to the author Continue to help good content that is interesting, well-researched, and useful, rise to the top! To gain full voting privileges, (https://stackoverflow.com/help/whats-reputation) earn reputation . Got it! Go to help center to learn more (https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon.png?v=c78bd457575a) (https://stackoverflow.com/questions/22224441/nginx-redirect-all-requests-from-subdirectory-to-another-subdirectory-root) Nginx redirect all requests from subdirectory to another subdirectory root (https://stackoverflow.com/questions/ask) Ask Question (2014-03-06 12:23:54Z) Asked 11 years, 7 months ago Modified (https://stackoverflow.com/questions/22224441/nginx-redirect-all-requests-from-subdirectory-to-another-subdirectory-root?lastactivity) (2017-12-10 04:38:00Z) 7 years, 10 months ago (Viewed 54,101 times) Viewed 54k times Part of (https://stackoverflow.com/collectives/php) PHP Collective This question shows research effort; it is useful and clear 19 (This question does not show any research effort; it is unclear or not useful) Save this question. (https://stackoverflow.com/posts/22224441/timeline) Show activity on this post. I'm quite new to Nginx so please bear with me. I'm trying to redirect all requests from one subdirectory (store) to the root of another subdirectory (trade). See my progress below. The site in the target subdirectory (trade) is a magento site so that is what most of the current rules are for. server { server_name example.com *.example.com; root /usr/share/nginx/html/example.com/public_html; index index.php index.html index.htm; access_log /var /log/nginx/example.access.log; error_log /var /log/nginx/example.error.log; location / { try_files $uri $uri / /index.html; } location /trade/ { index index.html index.php; try_files $uri $uri / @handler; expires 30 d; } location ~ /store { rewrite /trade permanent; } location ~ ^/trade/(app|includes|lib|media/downloadable|pkginfo|report/config.xml|var )/ { internal; } location /trade/var /export/ { internal; } location /. { return 404 ; } location @handler { rewrite / /trade/index.php; } error_page 404 /404 .html; error_page 500 502 503 504 /50 x.html; location = /50 x.html { root /usr/share/nginx/html; } # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 location ~ \.php$ { try_files $uri =404 ; fastcgi_pass unix:/var /run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document _root$fastcgi_script_name ; include fastcgi_params; } } The section I am using to redirect is the following: location ~ /store { rewrite /trade permanent; } This works for example.com/store but not example/store/index.php or any other uri with args. I have a feeling that the php file section at the bottom is overriding the processing. That is why I have put the ~ in front of the store location as the documentation (http://wiki.nginx.org/HttpCoreModule#location) here states this will be processed first. Does the processing stop or continue on? I have read about nesting a php rule but I have tried this to no avail. I would greatly appreciate any help. (https://stackoverflow.com/collectives/php) PHP Collective (https://stackoverflow.com/questions/tagged/php) (show questions tagged 'php') php (https://stackoverflow.com/questions/tagged/http-redirect) (show questions tagged 'http-redirect') http-redirect (https://stackoverflow.com/questions/tagged/nginx) (show questions tagged 'nginx') nginx (https://stackoverflow.com/q/22224441) (Short permalink to this question) Share (https://stackoverflow.com/posts/22224441/edit) Improve this question Follow Follow this question to receive notifications asked (2014-03-06 12:23:54Z) Mar 6, 2014 at 12:23 (https://stackoverflow.com/users/1214769/user1214769) (user1214769's user avatar) (https://stackoverflow.com/users/1214769/user1214769) user1214769 user1214769 (reputation score) 371 (1 gold badge) 1 1 gold badge (2 silver badges) 2 2 silver badges (6 bronze badges) 6 6 bronze badges 2 An example url would be (http://www.example.com/store/index.php?page=shop.product_details&flypage=flypage.tpl&category_id=365&product_id=8025&option=com_virtuemart&Itemid=101) example.com/store/… user1214769 – (https://stackoverflow.com/users/1214769/user1214769) (371 reputation) user1214769 2014-03-07 09:12:13 +00:00 Commented (2014-03-07 09:12:13Z, License: CC BY-SA 3.0) Mar 7, 2014 at 9:12 (this comment was edited 1 time) Does this answer your question? (https://stackoverflow.com/questions/25446989/nginx-redirect-all-contents-of-a-subdirectory-to-another-subdirectory) Nginx redirect all contents of a subdirectory to another subdirectory Bobort – (https://stackoverflow.com/users/603819/bobort) (3,228 reputation) Bobort 2023-02-02 16:28:09 +00:00 Commented (2023-02-02 16:28:09Z, License: CC BY-SA 4.0) Feb 2, 2023 at 16:28 (Use comments to ask for more information or suggest improvements. Avoid answering questions in comments.) Add a comment | (Expand to show all comments on this post) 3 Answers 3 Sorted by: (https://stackoverflow.com/questions/22224441/nginx-redirect-all-requests-from-subdirectory-to-another-subdirectory-root?answertab=scoredesc#tab-top) Reset to default (scoredesc) Highest score (default) (trending) Trending (recent votes count more) (modifieddesc) Date modified (newest first) (createdasc) Date created (oldest first) This answer is useful 45 (This answer is not useful) Save this answer. (Loading when this answer was accepted…) (https://stackoverflow.com/posts/22261287/timeline) Show activity on this post. ok try something like this location ^~ /store (.*) { return 301 $scheme ://$http_host/trade$1$is_args$query_string; } Trying to avoid hardcoded stuff as much as possible and using return because (http://wiki.nginx.org/Pitfalls#Taxing_Rewrites) it's prefered over permanent rewrites (https://stackoverflow.com/a/22261287) (Short permalink to this answer) Share (https://stackoverflow.com/posts/22261287/edit) Improve this answer Follow Follow this answer to receive notifications answered (2014-03-07 21:45:43Z) Mar 7, 2014 at 21:45 (https://stackoverflow.com/users/2149092/mohammad-abushady) (Mohammad AbuShady's user avatar) (https://stackoverflow.com/users/2149092/mohammad-abushady) Mohammad AbuShady Mohammad AbuShady (reputation score 43,275) 43.3k (11 gold badges) 11 11 gold badges (81 silver badges) 81 81 silver badges (89 bronze badges) 89 89 bronze badges Sign up to request clarification or add additional context in comments. 5 Comments Add a comment (https://stackoverflow.com/users/1214769/user1214769) user1214769 (https://stackoverflow.com/users/1214769/user1214769) user1214769 (2014-03-13T09:35:36.16Z) Over a year ago Thanks for the reply, I would vote you up but I haven't got the reputation! 2014-03-13T09:35:36.16Z+00:00 4 Reply (https://stackoverflow.com/users/2149092/mohammad-abushady) Mohammad AbuShady (https://stackoverflow.com/users/2149092/mohammad-abushady) Mohammad AbuShady (2014-03-13T09:38:20.25Z) Over a year ago It's ok don't worry :-D 2014-03-13T09:38:20.25Z+00:00 1 Reply (https://stackoverflow.com/users/1412984/fideloper) fideloper (https://stackoverflow.com/users/1412984/fideloper) fideloper (2017-04-05T14:26:03.137Z) Over a year ago I had to use ~* to get this to work, e.g. location ~* /store(.*) {...} 2017-04-05T14:26:03.137Z+00:00 1 Reply (https://stackoverflow.com/users/1698461/lemonade) Lemonade (https://stackoverflow.com/users/1698461/lemonade) Lemonade (2017-08-15T12:25:00.007Z) Over a year ago It needs to be : location ~ ^/store/(.*) { ... } 2017-08-15T12:25:00.007Z+00:00 2 Reply (https://stackoverflow.com/users/2149092/mohammad-abushady) Mohammad AbuShady (https://stackoverflow.com/users/2149092/mohammad-abushady) Mohammad AbuShady (2017-08-15T12:26:31.36Z) Over a year ago @Lemonade you can check the documentation, I would say both work, but I'm not sure if one is better optimized than the other (http://nginx.org/en/docs/http/ngx_http_core_module.html#location) nginx.org/en/docs/http/ngx_http_core_module.html#location 2017-08-15T12:26:31.36Z+00:00 0 Reply Add a comment This answer is useful 7 (This answer is not useful) Save this answer. (Loading when this answer was accepted…) (https://stackoverflow.com/posts/22247152/timeline) Show activity on this post. Ok, Coming back to this I can see the issue. In Nginx when you prepend a location directive with ~ this means that you want to process regular expressions in your directive (case sensitive, ~* for case insensitive). I believe that all regex directives will process before any others but I stand to be corrected. So when I am using: location ~/store { rewrite /trade permanent; } There is no regex there. Its is simply matching /store and redirecting to trade. After some investigation (and polishing up on my regex, which is rubbish), I came back to it and have come up with a working solution. location ~ ^/store/(.*) { rewrite ^/store (.*) /trade permanent; } Here I am asking the directive to process the regex by entering ~ then match any url with /store/ in it. Then, according to the docs, the rewrite syntax is: rewrite regex replacement [ flag ] so I am matching all urls with store in it and permanently redirecting them to the new subfolder. Pretty easy really, embarrassingly so actually but hey, every day is a school day. I'm open to correction on all of this and hope it helps someone. (https://stackoverflow.com/a/22247152) (Short permalink to this answer) Share (https://stackoverflow.com/posts/22247152/edit) Improve this answer Follow Follow this answer to receive notifications answered (2014-03-07 10:09:40Z) Mar 7, 2014 at 10:09 (https://stackoverflow.com/users/1214769/user1214769) (user1214769's user avatar) (https://stackoverflow.com/users/1214769/user1214769) user1214769 user1214769 (reputation score) 371 (1 gold badge) 1 1 gold badge (2 silver badges) 2 2 silver badges (6 bronze badges) 6 6 bronze badges Comments Add a comment This answer is useful 1 (This answer is not useful) Save this answer. (Loading when this answer was accepted…) (https://stackoverflow.com/posts/47735919/timeline) Show activity on this post. You need to ensure that your location ~ \.php$ handler does not take any URLs below the old folder. Indeed, precedence rules are clearly documented within (http://nginx.org/r/location) http://nginx.org/r/location , and you can either use regular expressions, or, better yet, use prefix-based matching with the ^~ modifier to instruct that the search must stop without trying to see if that regex-based \.php$ location would match: location ^~ /old/long/path/ { # will match /old/long/path/index.php, too rewrite ^/old/long/path/(.*)$ /new /$1 permanent; } The above snippet is likely the most efficient way of doing this, but here is another way of doing the same: location ~ /old/long/path/(.*) { return 301 /new /$1 $is _args$args ; } Why does one example has $is_args$args and the other one doesn't? Good question! Note that location directive as well as the first parameter of the rewrite directive both operate based on the contents of the $uri variable, as opposed to $request_uri . Long story short, but $uri does not contain $args , so, in both cases, $1 will not contain any args ; however, in the case of rewrite , the case is deemed so common that $args are automatically added back by nginx, unless the new string ends with a ? character, see (http://nginx.org/r/rewrite) http://nginx.org/r/rewrite . (https://stackoverflow.com/a/47735919) (Short permalink to this answer) Share (https://stackoverflow.com/posts/47735919/edit) Improve this answer Follow Follow this answer to receive notifications answered (2017-12-10 04:38:00Z) Dec 10, 2017 at 4:38 (https://stackoverflow.com/users/1122270/cnst) (cnst's user avatar) (https://stackoverflow.com/users/1122270/cnst) cnst cnst (reputation score 27,548) 27.5k (7 gold badges) 7 7 gold badges (100 silver badges) 100 100 silver badges (131 bronze badges) 131 131 bronze badges Comments Add a comment Your Answer Draft saved Draft discarded Sign up or (https://stackoverflow.com/users/login?ssrc=question_page&returnurl=https%3a%2f%2fstackoverflow.com%2fquestions%2f22224441%2fnginx-redirect-all-requests-from-subdirectory-to-another-subdirectory-root%23new-answer) log in Sign up using Google Sign up using Email and Password Submit Post as a guest Name Email Required, but never shown Post as a guest Name () () Email Required, but never shown () () Post Your Answer Discard By clicking “Post Your Answer”, you agree to our (https://stackoverflow.com/legal/terms-of-service/public) terms of service and acknowledge you have read our (https://stackoverflow.com/legal/privacy-policy) privacy policy . Start asking to get answers Find the answer to your question by asking. (https://stackoverflow.com/questions/ask) Ask question Explore related questions (https://stackoverflow.com/questions/tagged/php) (show questions tagged 'php') php (https://stackoverflow.com/questions/tagged/http-redirect) (show questions tagged 'http-redirect') http-redirect (https://stackoverflow.com/questions/tagged/nginx) (show questions tagged 'nginx') nginx See similar questions with these tags. (https://stackoverflow.com/collectives/php) PHP Collective See more (https://stackoverflow.com/collectives) This question is in a collective: a subcommunity defined by tags with relevant content and experts. The Overflow Blog (https://stackoverflow.blog/2025/10/03/one-is-not-the-loneliest-number-for-api-calls/?cb=1) One is not the loneliest number for API calls Featured on Meta (Meta Stack Exchange) (https://meta.stackexchange.com/questions/412667/spevacus-has-joined-us-as-a-community-manager?cb=1) Spevacus has joined us as a Community Manager (Meta Stack Exchange) (https://meta.stackexchange.com/questions/412705/introducing-a-new-proactive-anti-spam-measure?cb=1) Introducing a new proactive anti-spam measure (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/421831/policy-generative-ai-e-g-chatgpt-is-banned?cb=1) Policy: Generative AI (e.g., ChatGPT) is banned (Meta Stack Overflow) (https://meta.stackoverflow.com/questions/435121/exploring-new-types-of-questions-on-stack-overflow?cb=1) Exploring new types of questions on Stack Overflow Community activity Last 1 hr Users online activity 7843 users online Number of questions asked 14 questions Number of questions that received an answer 10 answers Number of comments posted 42 comments Number of upvotes on posts 177 upvotes Popular tags Popular tags (https://stackoverflow.com/questions/tagged/android) android (https://stackoverflow.com/questions/tagged/java) java (https://stackoverflow.com/questions/tagged/c#) c# (https://stackoverflow.com/questions/tagged/c) c (https://stackoverflow.com/questions/tagged/python) python (https://stackoverflow.com/questions/tagged/javascript) javascript Popular unanswered question Popular unanswered question (https://stackoverflow.com/questions/79782082) Angular guard issue (https://stackoverflow.com/questions/tagged/angular) angular (https://stackoverflow.com/questions/tagged/jquery-cookie) jquery-cookie (https://stackoverflow.com/questions/tagged/ngx-cookie-service) ngx-cookie-service (https://stackoverflow.com/users/21684478) (User avatar) (https://stackoverflow.com/users/21684478) Hammad sheikh 1 (Friday, October 3, 2025 at 6:59:29 PM UTC) 2 days ago Linked (https://stackoverflow.com/questions/25446989/nginx-redirect-all-contents-of-a-subdirectory-to-another-subdirectory?lq=1) (Question score (upvotes - downvotes)) 7 (https://stackoverflow.com/questions/25446989/nginx-redirect-all-contents-of-a-subdirectory-to-another-subdirectory?noredirect=1&lq=1) Nginx redirect all contents of a subdirectory to another subdirectory (https://stackoverflow.com/questions/62906711/nginx-redirect-from-subdirectory-to-root-with-slim-api-framework?lq=1) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/62906711/nginx-redirect-from-subdirectory-to-root-with-slim-api-framework?noredirect=1&lq=1) NGINX redirect from subdirectory to root with Slim API framework (https://stackoverflow.com/questions/57774518/nginx-send-all-requests-from-subdirectory-to-php-fpm?lq=1) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/57774518/nginx-send-all-requests-from-subdirectory-to-php-fpm?noredirect=1&lq=1) Nginx send all requests from subdirectory to php-fpm? Related (https://stackoverflow.com/questions/7046301/nginx-rewrite-all-directory-requests-to-index-php?rq=3) (Question score (upvotes - downvotes)) 4 (https://stackoverflow.com/questions/7046301/nginx-rewrite-all-directory-requests-to-index-php?rq=3) Nginx rewrite all directory requests to index.php (https://stackoverflow.com/questions/17738088/rewrite-root-address-to-a-subdirectory-in-nginx?rq=3) (Question score (upvotes - downvotes)) 43 (https://stackoverflow.com/questions/17738088/rewrite-root-address-to-a-subdirectory-in-nginx?rq=3) Rewrite root address to a subdirectory in nginx (https://stackoverflow.com/questions/24932244/nginx-rewrite-subfolder-to-subfolder?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/24932244/nginx-rewrite-subfolder-to-subfolder?rq=3) Nginx rewrite subfolder to subfolder (https://stackoverflow.com/questions/25446989/nginx-redirect-all-contents-of-a-subdirectory-to-another-subdirectory?rq=3) (Question score (upvotes - downvotes)) 7 (https://stackoverflow.com/questions/25446989/nginx-redirect-all-contents-of-a-subdirectory-to-another-subdirectory?rq=3) Nginx redirect all contents of a subdirectory to another subdirectory (https://stackoverflow.com/questions/34807447/redirect-root-to-another-folder-in-nginx-server?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/34807447/redirect-root-to-another-folder-in-nginx-server?rq=3) Redirect root to another folder in nginx server (https://stackoverflow.com/questions/38267916/nginx-redirect-subfolder-to-root-domain?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/38267916/nginx-redirect-subfolder-to-root-domain?rq=3) nginx Redirect subfolder to root domain (https://stackoverflow.com/questions/40376622/301-redirect-nginx-folder-contents-to-subfolder?rq=3) (Question score (upvotes - downvotes)) 1 (https://stackoverflow.com/questions/40376622/301-redirect-nginx-folder-contents-to-subfolder?rq=3) 301 redirect nginx folder contents to subfolder (https://stackoverflow.com/questions/41267349/nginx-rewrite-paths-to-base-url?rq=3) (Question score (upvotes - downvotes)) 6 (https://stackoverflow.com/questions/41267349/nginx-rewrite-paths-to-base-url?rq=3) Nginx Rewrite Paths to Base URL (https://stackoverflow.com/questions/41755100/how-to-redirect-only-the-root-path-in-nginx?rq=3) (Question score (upvotes - downvotes)) 41 (https://stackoverflow.com/questions/41755100/how-to-redirect-only-the-root-path-in-nginx?rq=3) How to redirect only the root path in nginx? (https://stackoverflow.com/questions/57774518/nginx-send-all-requests-from-subdirectory-to-php-fpm?rq=3) (Question score (upvotes - downvotes)) 0 (https://stackoverflow.com/questions/57774518/nginx-send-all-requests-from-subdirectory-to-php-fpm?rq=3) Nginx send all requests from subdirectory to php-fpm? (https://stackexchange.com/questions?tab=hot) Hot Network Questions (Personal Finance & Money Stack Exchange) (https://money.stackexchange.com/questions/166779/how-is-it-possible-that-a-company-would-go-from-a-stock-value-of-514-million-to) How is it possible that a company would go from a stock value of $514 million to just $3? (Electrical Engineering Stack Exchange) (https://electronics.stackexchange.com/questions/756497/can-a-22pf-capacitor-kill-you) Can a 22pF capacitor kill you (MathOverflow) (https://mathoverflow.net/questions/501113/is-zorns-lemma-equivalent-to-the-axiom-of-choice-for-individual-sets) Is Zorn's Lemma equivalent to the Axiom of Choice for individual sets? (Law Stack Exchange) (https://law.stackexchange.com/questions/111093/what-cause-of-action-was-available-to-the-woman-fictionalized-as-eve-in-the-film) What cause of action was available to the woman fictionalized as Eve in the film "All About Eve" (Mathematics Stack Exchange) (https://math.stackexchange.com/questions/5100008/how-do-french-mathematicians-write-ordered-pairs-since-they-already-use-the-com) How do French mathematicians write ordered pairs, since they already use the comma as a decimal separator? (Skeptics Stack Exchange) (https://skeptics.stackexchange.com/questions/59271/were-the-supply-ships-in-the-global-sumud-flotilla-empty) Were the supply ships in the Global Sumud Flotilla empty? (Mathematics Stack Exchange) (https://math.stackexchange.com/questions/5099988/interesting-antihomomorphisms-of-matrices) Interesting antihomomorphisms of matrices? (Puzzling Stack Exchange) (https://puzzling.stackexchange.com/questions/133447/mystery-graph-whats-the-equation) Mystery graph. What's the equation? (Cross Validated) (https://stats.stackexchange.com/questions/670541/how-do-quartiles-help-us-understand-a-dataset) How Do Quartiles Help Us Understand a Dataset? (Biblical Hermeneutics Stack Exchange) (https://hermeneutics.stackexchange.com/questions/108656/does-the-tree-of-knowledge-of-good-and-evil-encompass-all-knowledge) Does the tree of knowledge of good and evil encompass all knowledge? (Politics Stack Exchange) (https://politics.stackexchange.com/questions/93676/why-will-the-government-have-to-lay-people-off-if-the-government-shutdown-contin) Why will the government have to lay people off if the government shutdown continues? (Physics Stack Exchange) (https://physics.stackexchange.com/questions/860354/can-spin-really-be-measured-in-an-arbitrary-direction) Can spin really be measured in an arbitrary direction? (Worldbuilding Stack Exchange) (https://worldbuilding.stackexchange.com/questions/269293/would-octopus-submarines-give-the-dutch-east-india-company-any-meaningful-naval) Would octopus submarines give the Dutch East India company any meaningful naval advantage? (Academia Stack Exchange) (https://academia.stackexchange.com/questions/221566/early-career-faculty-job-move-reusing-letters-of-recommendation) Early-Career Faculty Job Move: Reusing Letters of Recommendation? (Literature Stack Exchange) (https://literature.stackexchange.com/questions/29831/why-does-the-fourth-stanza-of-brian-bilstons-pedents-not-rhyme) Why does the fourth stanza of Brian Bilston's "Pedents" not rhyme? (French Language Stack Exchange) (https://french.stackexchange.com/questions/56200/is-shell-the-computing-metaphor-really-translated-coquille-rose) Is "shell" (the computing metaphor) really translated "coquille rose"? (Home Improvement Stack Exchange) (https://diy.stackexchange.com/questions/323368/cinderblocks-missing-in-two-corners-of-my-house) Cinderblocks missing in two corners of my house (Astronomy Stack Exchange) (https://astronomy.stackexchange.com/questions/61775/is-the-us-government-shutdown-preventing-observations-of-3i-atlas) Is the US government shutdown preventing observations of 3I/Atlas? (Unix & Linux Stack Exchange) (https://unix.stackexchange.com/questions/800197/how-to-add-tar-gz-archive-to-an-ar-archive) How to add tar.gz archive to an ar archive? (Geographic Information Systems Stack Exchange) (https://gis.stackexchange.com/questions/495613/create-pie-chart-with-3-slices-consistently) Create pie chart with 3 slices, consistently (TeX - LaTeX Stack Exchange) (https://tex.stackexchange.com/questions/751995/how-to-pass-underscore-into-a-macro-that-contains-a-figure) How to Pass Underscore into a Macro that Contains a Figure (Vi and Vim Stack Exchange) (https://vi.stackexchange.com/questions/47247/is-glob-guaranteed-to-return-results-in-a-certain-order) Is `glob()` guaranteed to return results in a certain order? (Arqade) (https://gaming.stackexchange.com/questions/413583/what-do-these-person-icons-that-appear-on-steam-games-on-hover-mean) What do these person icons that appear on Steam games on-hover mean? (Science Fiction & Fantasy Stack Exchange) (https://scifi.stackexchange.com/questions/299483/1980s-novel-time-travelers-explore-dinosaur-era-when-they-try-to-return-a-bro) 1980s? Novel. Time travelers explore dinosaur era. When they try to return a Brontosaurs(?) bumps into the portal slicing a chunk out of its leg (https://stackoverflow.com/feeds/question/22224441) (Feed of this question and its answers) Question feed Subscribe to RSS Question feed To subscribe to this RSS feed, copy and paste this URL into your RSS reader. (https://stackoverflow.com/feeds/question/22224441) () lang-php Why are you flagging this comment? (45) Probable spam. This comment promotes a product, service or website while (https://stackoverflow.com/help/promotion) failing to disclose the author's affiliation . (20) Unfriendly or contains harassment/bigotry/abuse. This comment is unkind, insulting or attacks another person or group. Learn more in our (https://stackoverflow.com/conduct/abusive-behavior) Code of Conduct . (39) Not needed. This comment is not relevant to the post. (19) Something else. A problem not listed above. Try to be as specific as possible. Flag comment Cancel You have 0 flags left today (GPP Locator) (https://stackoverflow.com/) (https://stackoverflow.com/) Stack Overflow (https://stackoverflow.com/questions) Questions (https://stackoverflow.com/help) Help (https://chat.stackoverflow.com/?tab=explore) Chat (https://stackoverflow.co/) Products (https://stackoverflow.co/teams/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=teams) Teams (https://stackoverflow.co/advertising/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=advertising) Advertising (https://stackoverflow.co/advertising/employer-branding/?utm_medium=referral&utm_source=stackoverflow-community&utm_campaign=footer&utm_content=talent) Talent (https://stackoverflow.co/) Company (https://stackoverflow.co/) About (https://stackoverflow.co/company/press/) Press (https://stackoverflow.co/company/work-here/) Work Here (https://stackoverflow.com/legal) Legal (https://stackoverflow.com/legal/privacy-policy) Privacy Policy (https://stackoverflow.com/legal/terms-of-service/public) Terms of Service (https://stackoverflow.com/contact) Contact Us Your Privacy Choices (https://policies.stackoverflow.co/stack-overflow/cookie-policy) Cookie Policy (https://stackexchange.com/) Stack Exchange Network (https://stackexchange.com/sites#technology) Technology (https://stackexchange.com/sites#culturerecreation) Culture & recreation (https://stackexchange.com/sites#lifearts) Life & arts (https://stackexchange.com/sites#science) Science (https://stackexchange.com/sites#professional) Professional (https://stackexchange.com/sites#business) Business (https://api.stackexchange.com/) API (https://data.stackexchange.com/) Data (https://stackoverflow.blog/?blb=1) Blog (https://www.facebook.com/officialstackoverflow/) Facebook (https://twitter.com/stackoverflow) Twitter (https://linkedin.com/company/stack-overflow) LinkedIn (https://www.instagram.com/thestackoverflow) Instagram Site design / logo © 2025 Stack Exchange Inc; user contributions licensed under (https://stackoverflow.com/help/licensing) CC BY-SA . rev 2025.10.2.34811 By continuing to use this website, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our (https://policies.stackoverflow.co/stack-overflow/cookie-policy/) Cookie Policy . By exiting this window, default cookies will be accepted. To reject cookies, select an option from below. Necessary cookies only Customize settings