1

Topic: Static page added - want to create the correct redirect url

Hi,

I am using the folder (fancy) redirect rules - everything working ok. However, I then added a static page which displays fine if I call it exampledomain.com/examplepage.php. However, I want it to be called exampledomain.com/example as are the other pages (eg users or search) in the main menu.

Any help in making this happen would be much appreciated!

Cheers,

Daisy

Re: Static page added - want to create the correct redirect url

You need to edit the .htaccess file. It will look like:

# BEGIN PunBB

<IfModule mod_rewrite.c>
# MultiViews interfers with proper rewriting
Options -MultiViews

RewriteEngine On

# Uncomment and properly set the RewriteBase if the rewrite rules are not working properly
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} example$
RewriteRule . examplepage.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule . rewrite.php [L]
</IfModule>

# END PunBB

3

Re: Static page added - want to create the correct redirect url

Hi Slavok,

many thanks for helping - really appreciate it!

Cheers,

Daisy