HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   aspx to php or html (http://www.howtoforge.com/forums/showthread.php?t=54269)

Toucan 26th September 2011 10:57

aspx to php or html
 
I'm converting a site on another server from aspx to within a joomla cms.

All 200 hundred + pages have been made in joomla now but they all have a link to an aspx page that won't exist on the new server.

I'm assuming apache won't even consider parsing the page because of it's extention even if the content were in php.

Does anyone have any ideas of how I can get this to redirect to the new php page without having to manually edit 200+ pages?


Thanks

David

till 26th September 2011 11:45

You can redirect any URL to any other URL with apache redirects. Please see here for details:

http://httpd.apache.org/docs/current/mod/mod_alias.html

The redirect commands can be inserted into a .htaccess file in the web direcotry of the website.


All times are GMT +2. The time now is 12:28.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.