Hello, I just wanted to ask if there are any gotchas with doing 301 redirects for Joomla pages. I had setup some Joomla categories & articles and used a section layout, but I'm not happy with the navigation for various reasons and want to change that.
At the same time I also want to change the URLs. Right now they show up like this:
http://www.global-autotrading.com/autotraded-newsletters/18-stock-advisor-group/48-day-trading-stock-picks.html
I want this to redirect to:
http://www.global-autotrading.com/autotraded-newsletters/stock-advisor-group/day-trading-stock-picks.html
Of course, these pages don't actually "exist" at that physical location; I just have all 3 of the SEO options in Joomla turned on, and use URL redirection in the web.config:
<rewrite>
<rules>
<rule name="Security Rule" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAny">
<add input="{QUERY_STRING}" pattern="mosConfig_[a-zA-Z_]{1,21}(=|\%3D)" ignoreCase="false" />
<add input="{QUERY_STRING}" pattern="base64_encode.*\(.*\)" ignoreCase="false" />
<add input="{QUERY_STRING}" pattern="(\<|%3C).*script.*(\>|%3E)" />
<add input="{QUERY_STRING}" pattern="GLOBALS(=|\[|\%[0-9A-Z]{0,2})" ignoreCase="false" />
<add input="{QUERY_STRING}" pattern="_REQUEST(=|\[|\%[0-9A-Z]{0,2})" ignoreCase="false" />
</conditions>
<action type="CustomResponse" url="index.php" statusCode="403" statusReason="Forbidden" statusDescription="Forbidden" />
</rule>
<rule name="SEO Rule">
<match url="(.*)" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" pattern="" ignoreCase="false" />
<add input="{URL}" negate="true" pattern="^/index.php" ignoreCase="false" />
<add input="{URL}" pattern="(/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$" />
</conditions>
<action type="Rewrite" url="index.php" />
</rule>
</rules>
</rewrite>
|%3E)" input="{QUERY_STRING}">
(there's some weird line that shows up in the post: |%3E)" input="{QUERY_STRING}">, but I can't get rid of it, pls just ignore it)
I've basically copied the above config, so I don't know too much about the details. How do I combine the above with 301 redirects?