Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Web Design Lobby Forum for general web design issues not specific to scripting or graphics.

   

Reply
 
LinkBack Thread Tools Display Modes
Old 03-13-2008, 01:53 PM   #1 (permalink)
Junior Member
 
Join Date: 07-20-06
Posts: 11
iTrader: 0 / 0%
Latest Blog:
None

elvisshades is liked by many
Wink Help with index.html and .htaccess

Hi guys,
So right now my site it setup as a portal page as the front page which then will get you to my forum (/forum) though a link on the portal page.

For some reason, when you go to www.mysite.com you get redirected to www.mysite.com/forum/portal.php. Functionally, that works fine but I'm trying to get it to go to the portal.php but without it saying www.mysite.com/forum/portal.php on the address bar. I'm losing my google PR of 2 on www.mysite.com and have no ranking on www.mysite.com/forum/portal.php. I've tried everything I can think of using .htaccess and the index.html in my root but I think I'm just doing something wrong.

Currently, my .htaccess (in root) is: DirectoryIndex forum/portal.php index.php index.html index.htm.

The index.html (in root) is:
<html>
<head>
<title>Redirecting...</title>
<<meta http-equiv="refresh" content="0;url=forum/portal.php">
</head>
<body>
</body>
</html>

What should I change or take out? Thanks guys...this has been a pain in the neck for the last week!
elvisshades is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-14-2008, 09:59 AM   #2 (permalink)
Junior Member
 
Join Date: 07-20-06
Posts: 11
iTrader: 0 / 0%
Latest Blog:
None

elvisshades is liked by many
FYI - I've deleted the index.html file completely from the root and now I'm just using the .htaccess file.
Any ideas?
elvisshades is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-14-2008, 12:16 PM   #3 (permalink)
Contributing Member
 
Izzmo's Avatar
 
Join Date: 11-01-03
Location: Kansas City
Posts: 1,071
iTrader: 0 / 0%
Izzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to beholdIzzmo is a splendid one to behold
Send a message via ICQ to Izzmo Send a message via AIM to Izzmo Send a message via MSN to Izzmo Send a message via Yahoo to Izzmo
The only way to get it to not say portal.php is to design it so portal.php is your index.php, if that makes sense.

Aside from actually editing your domain config to just say yourdomain.com forwhatever page your on (probably not a good idea for gaining PR), then that is the best way.
__________________
Izzmo
Coding Guru Extraordinaire
ZeroWeb Hosting & Design - Customizable hosting for every type of user!
Izzmo is offline  
Add Post to del.icio.us
Reply With Quote
Old 03-14-2008, 04:40 PM   #4 (permalink)
nic
Junior Member
 
Join Date: 10-19-07
Location: Australia
Posts: 28
iTrader: 0 / 0%
Latest Blog:
None

nic is liked by many
It appears to me all you want is "page rank", secondly, that's about it with refitting your system, you lose the initial structure that gave it any PR with google.
I think your fighting it the wrong way.
Since you changed the destination, be sure to do all of that you did on the original page for meta information and content conformity.
nic is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-03-2008, 11:09 PM   #5 (permalink)
Junior Member
 
Join Date: 07-20-06
Posts: 11
iTrader: 0 / 0%
Latest Blog:
None

elvisshades is liked by many
For anyone who was following along, this is how I fixed it:

I kept the .htaccess file in root, removed the index.html file. Then I added <base href="http://www.mysite.com/forum/"> to the overall_header.tpl. It worked like a charm!
elvisshades is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to solve duplicate page from "home page" and "index.html" suwan SEO Forum 7 07-30-2007 01:55 AM
How to redirect index.html to index.php and keep the same positions? sniperhiga SEO Forum 7 04-23-2007 07:51 AM
Internal Linking - does index.html affect anything? allreal SEO Forum 3 07-20-2006 08:39 AM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 08:36 AM.
© Copyright 2008 V7 Inc