LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-10-2010, 09:40 AM   #1
gnosis_linux
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Wordpress and .htaccess?


Need:

All pages in the new website will be generated using WordPress, but the homepage, because of its sophistication, will be a php page developed independently of WordPress.



Issue:

When a user enters http://mysite.com into a browser I would like them to default to the page that was developed independently of WordPress (for example, index3.php). Index3.php will be homepage with links to all other pages which are WordPress pages. All WordPress pages use the index.php page in the root WordPress directory which is the same as the web root (http://mysite.com). Would I be able to redirect for http://mysite.com/ to http://mysite.com/index3.php but all other WordPress pages, for example http://library.gc.cuny.edu/wordpress/test-circ/ (uses index.php) will still be able to use the http://mysite.com/index.php without being redirected?
 
Old 04-03-2010, 01:26 PM   #2
dpminusa
LQ Newbie
 
Registered: Mar 2010
Location: USA
Distribution: Gentoo
Posts: 16

Rep: Reputation: 1
mod-rewrite

mod-rewrite is part of the Apache project. Have you enabled mod-rewrite and tried it. You can do most things like you referenced with it. The syntax can be a bit thick if you are not familiar with them. There are lots of examples on Apache and the net though.

I have done several things similar to your request with it.
 
  


Reply

Tags
htaccess, redirect, wordpress


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New to Wordpress subaruwrx General 0 10-31-2007 12:22 PM
Permissions for Wordpress vital_101 Ubuntu 3 10-03-2006 05:53 PM
LXer: WordPress 2.0 is better than ever LXer Syndicated Linux News 0 01-06-2006 02:31 AM
wordpress don't working fllabron Linux - Software 2 09-08-2005 04:27 PM


All times are GMT -5. The time now is 12:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration