Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Redirect html pages with htaccess


avatar77 - 3:59 pm on Oct 5, 2012 (gmt 0)


I begin with thank you all for your answers and I apologize for the delay, work problems ...!
I imagined to seek help from professionals like you and here comes my difficulty in putting your valuable advice :-)
Unfortunately my knowledge of. Htaccess is not good.
Let's see if I can find the right code to use.
As I said, I need to optimize my .Htaccess file and modify it by "Redirect" the existing Html pages to my home page (for example) or other flash pages.
I'm upgrading from a site built in "pure html+css" to a one in flash.
So...

#Options +FollowSymLinks +ExecCGI

RewriteEngine On

RewriteBase /

## remove trailing slash
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^(.+)/$
RewriteRule ^(.+)/$ $1 [R=301,L]

## Redirect all my html pages to new flash pages
RewriteRule ^index.html$ /#/splash-page/ [QSA]
RewriteRule ^contacts.html$ /#/contacts/ [QSA]
RewriteRule ^about_us.html$ /#/about_us/ [QSA]
RewriteRule ^services.html$ /#/services/ [QSA]

## internal rewrite
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]

How would you modify it to make it functional?
I thank you and i hope to get an help from you, again!


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