Webmaster Forum


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

Coding Forum Problems with your code? Let's hear about it.

Lionsanime Directory   ClickBooth Network   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 04-04-2006, 06:33 AM   #1 (permalink)
Inactive
 
Chris1974's Avatar
 
Join Date: 02-02-06
Location: Colorado
Posts: 112
iTrader: 0 / 0%
Latest Blog:
None

Chris1974 is a jewel in the roughChris1974 is a jewel in the roughChris1974 is a jewel in the roughChris1974 is a jewel in the roughChris1974 is a jewel in the roughChris1974 is a jewel in the roughChris1974 is a jewel in the rough
Coding Problem URL redirect

I have phpBB mods on my website. The one mod is a portal skin to make the index page look more like a portal rather than a BB.

The changes in the code I made replaced index.php with portal.php (as per instructions.) I then had to change the .htaccess to accept this.

Problem is now. The other two domains on my server account are affected by this because the .htaccess change was in the root directory. I tried changing the .htaccess per domain and it's not working.

If I type in /index.php on my other two websites they are viewed fine. Unfortunatly this is the only way to view them.

How would/can I fix this?? I guess their is a special way to change the .htaccess on my two websites to get this working, but I'm at a loss here.
Chris1974 is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 04-04-2006, 07:36 AM   #2 (permalink)
Contributing Member
 
Join Date: 07-30-05
Posts: 282
iTrader: 0 / 0%
Latest Blog:
None

Radnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really niceRadnor is just really nice
So if I understand this.... you have:

www.abc.com/portal.php and in the htaccess you want to type in:
www.abc.com and auto display the portal.php page??? (default home page)

You changed the: "DirectoryIndex portal.php" ?????
Radnor is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-04-2006, 07:40 AM   #3 (permalink)
Potato Monster
 
Immo's Avatar
 
Join Date: 03-26-04
Location: Chester, England
Posts: 3,894
iTrader: 0 / 0%
Immo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest order
Send a message via ICQ to Immo Send a message via AIM to Immo Send a message via MSN to Immo Send a message via Yahoo to Immo Send a message via Skype™ to Immo
If you set the htaccess file to redirect like this:

/ portal.php


Change it to

/index.php portal.php


That should fix it.
__________________
I have become death, destroyer of worlds.
Immo is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-04-2006, 07:44 AM   #4 (permalink)
Inactive
 
Chris1974's Avatar
 
Join Date: 02-02-06
Location: Colorado
Posts: 112
iTrader: 0 / 0%
Latest Blog:
None

Chris1974 is a jewel in the roughChris1974 is a jewel in the roughChris1974 is a jewel in the roughChris1974 is a jewel in the roughChris1974 is a jewel in the roughChris1974 is a jewel in the roughChris1974 is a jewel in the rough
Quote:
Originally Posted by Immo
If you set the htaccess file to redirect like this:

/ portal.php


Change it to

/index.php portal.php


That should fix it.
Worked like a charm, I think it had to do with the backslash

Thank You
Chris1974 is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-04-2006, 07:48 AM   #5 (permalink)
Potato Monster
 
Immo's Avatar
 
Join Date: 03-26-04
Location: Chester, England
Posts: 3,894
iTrader: 0 / 0%
Immo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest orderImmo is a web professional of the highest order
Send a message via ICQ to Immo Send a message via AIM to Immo Send a message via MSN to Immo Send a message via Yahoo to Immo Send a message via Skype™ to Immo
np was an educated guess, im by no means a master of .htaccess files

glad its working.
__________________
I have become death, destroyer of worlds.
Immo is offline  
Add Post to del.icio.us
Reply With Quote
Old 04-04-2006, 07:49 AM   #6 (permalink)
Inactive
 
Mrblogs's Avatar
 
Join Date: 03-29-06
Posts: 548
iTrader: 0 / 0%
Mrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really niceMrblogs is just really nice
Send a message via MSN to Mrblogs Send a message via Yahoo to Mrblogs
Just don't create an index.php file in the portal.php directory or the website will show the index.php instead.
Mrblogs is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

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
Coding: Alignment Problem in Navbar soultrader Coding Forum 0 11-17-2006 07:05 AM
Problem with Coding soultrader Coding Forum 32 11-15-2006 05:28 AM
Template Coding Problem Sryinex Web Design Lobby 1 09-12-2006 02:54 PM
session problem with redirect I like pie Coding Forum 14 08-29-2006 08:25 AM
Redirect Problem Cibok Web Design Lobby 1 11-29-2003 03:29 PM


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


All times are GMT -7. The time now is 06:46 PM.
© Copyright 2008 V7 Inc