Käynnissä

mod rewrite help

I need help with mode rewrite on a wordpress site.

I want the /site/home/ page to redirect to the regular index page at /site/. The whole site resides in the folder /site/ and I'm modifying the .htaccess file in that folder.

I used this to get it to work but it wrecks the default settings that I need for the other pages:

RewriteEngine On

RewriteRule ^home/$ /site/[url removed, login to view] [QSA,L]

This is the default wordpress setting that I need to make all the pages work the way I want:

RewriteEngine On

RewriteBase /site/

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . /site/[url removed, login to view] [L]

What I need is to create and exception in the default for the page called /site/home/ and make it go to just /site/.

Can any one help out?

Taidot:

Näytä lisää: l want to create a site, help to create wordpress site, get wordpress help, get help with wordpress, mod rewrite folders pages, help help, rewrite, php rewriteengine, wordpress rewrite htaccess, htaccess rewriteengine, php htaccess rewriteengine, rewriteengine, rewritebase htaccess file, php htaccess help, wordpress htaccess redirect, htaccess redirect page php, wordpress htaccess, rewriterule htaccess, need help wordpress, setting wordpress, modifying php wordpress, site rewrite, exception, need help wordpress site, rewrite page

Tietoa työnantajasta:
( 31 arvostelua ) Delta, Canada

Projektin tunnus: #197750

Myönnetty käyttäjälle:

anode

I want to have a try. Thank you.

5 $ USD 1 päivässä
(210 arvostelua)
5.4

2 freelanceria on tarjonnut keskimäärin 5 $ tähän työhön

ErsanJSano

Hi, I have done some .htaccess and your request is quite easy... Best regards, -Ersan

5 $ USD 1 päivässä
(6 arvostelua)
0.0