Irish SEO,  Marketing & Webmaster Discussion
 
Make money - save the planet!
 

Go Back   Irish SEO, Marketing & Webmaster Discussion > Webmaster Help > Server / Technical Administration Tips and Queries


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-08-2006, 02:14 AM
blacknight's Avatar
Web Slave
 
Join Date: Jan 2006
Location: Ireland
Posts: 5,838
blacknight is just really niceblacknight is just really niceblacknight is just really niceblacknight is just really nice
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight
Lightbulb Apache Mod_rewrite - seo and more!

One of the most powerful tools that you can use both for SEO and general site management is to get to grips with mod_rewrite

What does it do?

What doesn't it do!

Seriously though.. mod_rewrite allows you to control and rewrite URIs to suit your needs. You can turn ugly ?=45sd type junk into meaningful and more attractive URIs that both your readers and search engines can take advantage of

For some basic information check out the Apache documentation:
Apache module mod_rewrite - for Apache 1.3.*

Apache 1.3 URL Rewriting Guide - more detailed with examples

If you want to get your hands dirty then this site is an excellent resource:
mod_rewrite Cheat Sheet - Apache - ILoveJackDaniels.com
Reply With Quote
  #2 (permalink)  
Old 06-08-2006, 02:42 AM
Cormac's Avatar
Cormac Moylan
 
Join Date: Jan 2006
Location: Baile Ath Cliath / Corcaigh
Posts: 1,171
Cormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to behold
Send a message via AIM to Cormac Send a message via MSN to Cormac Send a message via Yahoo to Cormac Send a message via Skype™ to Cormac
Default

i have attempted to set this up tonight...
i have ssh'd into my server and i have got the editor up to edit the httpd.conf file...
LoadModule rewrite_module modules/mod_rewrite.so is uncommented

but i couldn't find ClearModuleList or AddModule mod_rewrite.c to ensure that they each had the correct settings appointed to them. I was following this info > Enable mod_rewrite on Apache

Can i copy the entire httpd.conf file to a clip board and view it in notepad so i can search for the keywords, it would make things a lot easier for me.

I was using putty and there is a clipboard option but it copied the commands and not the actuall file content...
__________________
my blog | Apple Mac Blog | Indie Music Blog | *
Reply With Quote
  #3 (permalink)  
Old 06-08-2006, 02:45 AM
blacknight's Avatar
Web Slave
 
Join Date: Jan 2006
Location: Ireland
Posts: 5,838
blacknight is just really niceblacknight is just really niceblacknight is just really niceblacknight is just really nice
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight
Default

As you are using windows (yes I do read the server logs!) I'd recommend you get WinSCP :: Freeware SFTP and SCP client for Windows so that you can download the files without getting a headache?

Which linux distribution are you using?
Reply With Quote
  #4 (permalink)  
Old 06-08-2006, 02:50 AM
Cormac's Avatar
Cormac Moylan
 
Join Date: Jan 2006
Location: Baile Ath Cliath / Corcaigh
Posts: 1,171
Cormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to behold
Send a message via AIM to Cormac Send a message via MSN to Cormac Send a message via Yahoo to Cormac Send a message via Skype™ to Cormac
Default

Thanks, i'll check out that app now...
edit:that app looks interesting, i opened a terminal within it and attemped to edit the file again in the hope of being able to copy it and it crashed on me :-(

I'm using Ubuntu ( i presume you mean which i'm using personally at home and not which one the server uses?)
__________________
my blog | Apple Mac Blog | Indie Music Blog | *

Last edited by Cormac; 06-08-2006 at 03:00 AM.
Reply With Quote
  #5 (permalink)  
Old 06-08-2006, 02:54 AM
blacknight's Avatar
Web Slave
 
Join Date: Jan 2006
Location: Ireland
Posts: 5,838
blacknight is just really niceblacknight is just really niceblacknight is just really niceblacknight is just really nice
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight
Default

Now you are confusing me

If you are using ubuntu on your desktop then you already have scp, as it's part of ssh

What is running on the server?
Reply With Quote
  #6 (permalink)  
Old 06-08-2006, 03:02 AM
Cormac's Avatar
Cormac Moylan
 
Join Date: Jan 2006
Location: Baile Ath Cliath / Corcaigh
Posts: 1,171
Cormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to beholdCormac is a splendid one to behold
Send a message via AIM to Cormac Send a message via MSN to Cormac Send a message via Yahoo to Cormac Send a message via Skype™ to Cormac
Default

i'm using windows 2000 at the moment
i have ubuntu but it's switched off

Fedora is on the server
__________________
my blog | Apple Mac Blog | Indie Music Blog | *
Reply With Quote
  #7 (permalink)  
Old 06-08-2006, 03:05 AM
blacknight's Avatar
Web Slave
 
Join Date: Jan 2006
Location: Ireland
Posts: 5,838
blacknight is just really niceblacknight is just really niceblacknight is just really niceblacknight is just really nice
Send a message via ICQ to blacknight Send a message via AIM to blacknight Send a message via MSN to blacknight
Default

Ok. You should just be able to uncomment the LoadModule directive and give apache a HUP via
Code:
/etc/init.d/httpd reload
Reply With Quote
  #8 (permalink)  
Old 06-08-2006, 03:41 AM
georgiecasey's Avatar
Member
Recent Blog: Irish torrents site
 
Join Date: Jul 2006
Location: Galway / Ennis
Posts: 277
georgiecasey will become famous soon enough
Send a message via ICQ to georgiecasey
Default

If you have mod_rewrite in a Load Module in the httpd.conf file, what else do you have to do? Have you just tried restarting and seeing if rewriting works. Yeah, rewrite is very powerful, I wish I knew about it from the start. Around 2002, I was spending ages trying to get my PHP scripts to create search-engine friendly directories and files to mimic mod_rewrite. Was very messy.
Reply With Quote
  #9 (permalink)  
Old 07-08-2006, 12:00 PM
louie's Avatar
Senior Member
 
Join Date: Jan 2006
Location: Dublin, Ireland
Posts: 1,913
louie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud oflouie has much to be proud of
Send a message via Yahoo to louie Send a message via Skype™ to louie
Default

check this out for some help:

URL Rewriting - Create Search Engine Friendly URLs
__________________
:. Web Design & Development Web Design Ireland
:. Search Engines Optimization Search Engines Optimization
:. Directory Submission Directory Submission
:. News & Press Release Ireland GiveItSocks.com
:. Used Cars Ireland, Car Parts & Car Audio Cars For Sale, Car Parts & Accessories
:. I Have 2 Find It Directory SEF Directory
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT +1. The time now is 10:14 PM.


Powered by: vBulletin Version 3.7.2, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.

Search Engine Friendly URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56