<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged nice-urls</title>
<link>https://www.question2answer.org/qa/tag/nice-urls</link>
<description>Powered by Question2Answer</description>
<item>
<title>Nice URLs not working in a /subdir with nginx 1.7.6</title>
<link>https://www.question2answer.org/qa/44491/nice-urls-not-working-in-a-subdir-with-nginx-1-7-6</link>
<description>

&lt;p&gt;Hi!&lt;/p&gt;

&lt;p&gt;I've googled a lot and read every Q&amp;amp;A related to nginx that I found around here, but no answer seems to work.&lt;/p&gt;

&lt;p&gt;Here's the scenario:&lt;/p&gt;

&lt;p&gt;Nginx 1.7.6, Q2A installed in /help, nginx with this conifg:&lt;/p&gt;

&lt;blockquote&gt;

&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;server {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #listen &amp;nbsp; 80; ## listen for ipv4; this line is default and implied
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; #listen &amp;nbsp; [::]:80 default_server ipv6only=on; ## listen for ipv6
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; root /var/www/htdocs;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; server_name mydomain.tld;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;index index.php index.html index.htm default.html default.htm;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;location /help {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try_files $uri $uri/ /help/index.php?qa-rewrite=$request_uri&amp;amp;$args;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; location ~ \.php$ {
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fastcgi_pass &amp;nbsp;127.0.0.1:9000;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fastcgi_index index.php;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; include fastcgi_params;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }
&lt;br&gt;}&lt;/span&gt;&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;&amp;nbsp;This is the best result I was able to achieve, trying to understand .htaccess.&amp;nbsp;The problem is that I want&amp;nbsp;&lt;em&gt;fully&lt;/em&gt;&amp;nbsp;nice URLs, but the admin page only lets me to enable from the third option.&lt;/p&gt;

&lt;p&gt;What am I missing?&lt;/p&gt;

&lt;p&gt;Thanks in advance!&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/44491/nice-urls-not-working-in-a-subdir-with-nginx-1-7-6</guid>
<pubDate>Mon, 30 Mar 2015 03:55:51 +0000</pubDate>
</item>
</channel>
</rss>