Jump to content

Add a little peice of code in front of every link?


chmpdog

Recommended Posts

Hi,

 

I have a site that I recently added in SEO urls. Everything works great, but none of my links go to the seo.

 

So I need a script that would add in a $variable before every link, automaticly.  Since I am not too skilled in php is would be really hard or me.

 

If you are a PHP guru out there could you whip this up or me?

 

Thanks

Why don't you try the search and replace function on your text editor.

 

The text editor I use (PSPad) has a pretty useful feature where when you are doing search and replace. You can ask it to prompt you for each replace. So I tell it to do a general replace, and just click yes/no. It gets the job done pretty quickly.

 

Don't worry, I'm sure every single programmer has once done mindlessly boring work like that. I sure have.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.