Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Is this possible with .htaccess?


g1smd - 5:36 pm on Jun 29, 2012 (gmt 0)


Nearly.

Add the protocol and domain name to the rule target.

Make sure this rule is before your non-www/www redirect.

If the (.*) bit is always a number, use ([0-9]+) instead. No need to redirect duff requests.

You might need a separate rule before this to handle page 1 properly.


Thread source:: http://www.webmasterworld.com/apache/4471002.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com