I'm kind of new to PHP. I wanted to know how to get my site to open in it's original url ie: http://blah4site.com/name instead of http://blah4site.com/name/index.php or having a slpash page and then going into the http://blah4site.com/name/index.php, when someone first visits the site. I hope this isn't too confusing. Here is an example site: click See how her's opens to the original url and then if you hover over 'main' it takes you to http://www.lunaestas.com/savvy/index.php. So this must happen somewhere within the php file? How do I do this?
Ashley
0
Light Poster
Recommended Answers
Jump to PostTry to put it in .htaccess file.
Redirect /name/index.php http://blah4site.com/name
It's not tested yet. Please let me know the results.
Jump to PostSorry did not make clear. Put the below code in .htaccess
Redirect /name/index.php http://blah4site.com/name
All 7 Replies
PoA
12
Posting Whiz in Training
Ashley
0
Light Poster
PoA
12
Posting Whiz in Training
Ashley
0
Light Poster
PoA
12
Posting Whiz in Training
Ashley
0
Light Poster
Ashley
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.