<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged custom-url-prefix</title>
<link>https://www.question2answer.org/qa/tag/custom-url-prefix</link>
<description>Powered by Question2Answer</description>
<item>
<title>How to make a custom URL prefix for all questions?</title>
<link>https://www.question2answer.org/qa/38663/how-to-make-a-custom-url-prefix-for-all-questions</link>
<description>

&lt;p&gt;
	What file /fragment of a code do I need to edit in v1.6.3&amp;nbsp;to include a custom URL prefix for each of the question pages,&lt;/p&gt;


&lt;p&gt;
	i.e. to change a current:&lt;/p&gt;


&lt;p&gt;
	mysite.com/1234/question-title-text&lt;/p&gt;


&lt;p&gt;
	to:&lt;/p&gt;


&lt;p&gt;
	mysite.com/&lt;strong&gt;answerit/&lt;/strong&gt;1234/question-title-text&lt;/p&gt;


&lt;p&gt;
	where &quot;answerit&quot; is my custom prefix.&lt;/p&gt;


&lt;p&gt;
	Just to be clear, I do not want to change the prefix for the list of questions that can be controlled with&amp;nbsp;$QA_CONST_PATH_MAP easly by &quot;'questions' =&amp;gt; 'custom_prefix',&quot;, but I would like to change the URL for actual question pages, so the rest (i.e. tags) stays the same.&lt;/p&gt;


&lt;p&gt;
	mysite.com/&lt;b&gt;tags&lt;/b&gt;&lt;/p&gt;


&lt;p&gt;
	As a related question:&lt;/p&gt;


&lt;p&gt;
	How to include the category name in the question URL?&lt;/p&gt;


&lt;p&gt;
	i.e. after combining with first request:&lt;/p&gt;


&lt;p&gt;
	mysite.com/&lt;em&gt;answerit/&lt;/em&gt;&lt;strong&gt;category_name&lt;/strong&gt;/1234/question-title-text&lt;/p&gt;


&lt;p&gt;
	I do realise that changing a category will not work backwords in that case, or?&lt;/p&gt;


&lt;p&gt;
	Thanks a lot!&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/38663/how-to-make-a-custom-url-prefix-for-all-questions</guid>
<pubDate>Wed, 24 Sep 2014 00:30:27 +0000</pubDate>
</item>
</channel>
</rss>