can I redirect every page in a directory?

Need help or support ? Post your issues and problem here!

Moderator: Moderators Team

can I redirect every page in a directory?

Postby bobis on Mon Jul 21, 2008 11:23 pm

I have a directory with a bunch of html pages in it, now I want to redirect all the pages to one page, I know the redirect code for 1 page but is there a php page or pages that I can put in the directory so I dont have to put the code on every page?
Monterey Park Computer Support

want a higher alexa rank free, really free, PM me.
User avatar
bobis
Advanced Member
Advanced Member
 
Posts: 860
Joined: Mon Oct 01, 2007 5:10 am
Location: Turn around!
DNBucks: 5187
[Donate DNBucks]

Re: can I redirect every page in a directory?

Postby xjuniorx on Thu Jul 24, 2008 4:50 am

Okay all you have to do is create a php page
add the code the redirect code and simply add the code
to the page and it will redirect all pages to the page you have chosen
xjuniorx
Addicted Member
Addicted Member
 

Re: can I redirect every page in a directory?

Postby Looky on Wed Jul 30, 2008 1:04 am

I'm sorry but I did not understand everything you wanted to say...
Using frames or the "include()" function in php isn't helpful?
The domanins I bought with the help of DNTemple: YMStatus.com and YMStatus.info
User avatar
Looky
Advanced Member
Advanced Member
 
Posts: 524
Joined: Mon Nov 12, 2007 7:36 pm
Location: Oradea, Romania
DNBucks: 40
[Donate DNBucks]

Re: can I redirect every page in a directory?

Postby Brothers on Thu Aug 14, 2008 5:02 am

i think you cannot do this..
coz its limited
Brothers
Advanced Member
Advanced Member
 
Posts: 907
Joined: Fri Aug 08, 2008 1:34 pm
DNBucks: 450
[Donate DNBucks]

Re: can I redirect every page in a directory?

Postby TheUniqueTiger on Thu Aug 14, 2008 3:34 pm

Htaccess rewrite would be better... :)
Make the most of the time you have!
My project: HiFiBB ... Simply HiFi!
My Home
User avatar
TheUniqueTiger
Administrator
Administrator
 
Posts: 636
Joined: Mon Oct 01, 2007 4:44 pm
Location: India
DNBucks: 1180
[Donate DNBucks]

Re: can I redirect every page in a directory?

Postby raghu3586 on Thu Aug 14, 2008 5:01 pm

the king :) :) :) :) whats this
raghu3586
Addicted Member
Addicted Member
 


Return to Web Development Help and Support

Who is online

Users browsing this forum: No registered users and 0 guests