logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Can htaccess rewrite links in a page?
Author
mike



Joined: 16 Sep 2011
Posts: 3

PostPosted: Fri 04 Nov '11 20:25    Post subject: Can htaccess rewrite links in a page? Reply with quote

Hi,

I would be most appreciative if somebody could advise me if it is possible to rewrite urls that appear within the content of webpages to Search Engine Friendly Format using .htaccess rewrite rules? (I can only find examples online to rewrite the url that will display in the address bar of the user's browser for the page that is about to be handed to the browser.)

I look forward to your response.

Kind Regards,
Mike
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Fri 04 Nov '11 21:02    Post subject: Reply with quote

I think what you will need is mod_sed. mod_rewrite is just for that, rewrite requested URLs on the fly, not response content.
Back to top


Reply to topic   Topic: Can htaccess rewrite links in a page? View previous topic :: View next topic
Post new topic   Forum Index -> Apache