Invalid rewrite directive:

P

prandah

Guest
#1
Hi all
i need advice
i was installed wordpress on /home/1pu/
and i was set rewrite rule :

Code:
RewriteBase /1pu/
RewriteRule ^/index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /1pu/index.php [L]
but i got message :

Code:
Invalid rewrite directive: RewriteBase /1pu/
any advice for this ?

thanks
 
R

Robson

Guest
#3
try

RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
 
R

Robson

Guest
#4
Code:
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
 
P

prandah

Guest
#5
Hi sir
i was tried it
but i got 404 not found :D


Code:
http://www.1pu.info/indostar-online-tv-streaming/
 
P

prandah

Guest
#8
yes i use 1.2.8
here is my setting maybe i wrong on my config

removed


thanks,
 
Last edited by a moderator:
R

Robson

Guest
#11
after follow it, use this rules, no add more rules

Code:
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
 
Top