![]() |
.htaccess question
I'm trying to rewrite some URL's.
I use this and it works fine: RewriteRule ^page/(.+)$ index$1.php [nc] But when I try to use this, it says page not found: RewriteRule ^page/1$ index.php [nc] Anyone know what I'm doing wrong? |
Bump:thumbsup
|
bump for help!
|
What are you trying to accomplish?
Quote:
|
Ya what are you trying to do?
|
you need "RewriteEngine On"
you obviously have that? |
|
Problem fixed!
|
mod_rewrite is a great way to take ugly URLs and turn them into SE optimized friendly URLs. Good to see a thread like this on here.
|
Options +FollowSymLinks
RewriteEngine on RewriteRule (.*) http://xxxxxxxxx.com/$1 [R=301,L] i use this, works perfect |
All times are GMT -7. The time now is 07:56 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123