Antworten: 10
Seite [1] |
|
stevebluck2 Wannabe poster Beiträge: 20 |
# Thema - 06.02.2009 um 11:24 Uhr
Hi, Just checking out the .htaccess file and I was wondering if there was an easy way to enable SEO friendly URL's like this website is using. Many Thanks |
Inaktiv |
|
duRiel Weltmeister Herkunft: Cambridge Beiträge: 7300 |
# Antwort: 1 - 06.02.2009 um 11:35 Uhr
hi, whats "SEO Friendly URL's"? using urls as we do is pretty easy. you just enable mod rewrite in the clansphere options and enable the .htaccess file. greetings duRiel |
Inaktiv |
|
stevebluck2 Thread-Ersteller Wannabe poster Beiträge: 20 |
# Antwort: 2 - 06.02.2009 um 11:39 Uhr
It must be an english term, but yet it means somthing.com/page/page/page.htm I have enabled the .htaccess file and mod rewrite - is there anything i have to do to the htaccess file as i get an 500 internal server error when I try to access the website. Oh and since i enabled mod write I cant change it back becasue the url doesnt work! Please help ASAP Thanks Zuletzt editiert von stevebluck2 am 06.02.2009 um 12:27 Uhr (2x Editiert) |
Inaktiv |
|
Nachtmeister Specialist Herkunft: Bern Beiträge: 2091 |
# Antwort: 3 - 06.02.2009 um 13:31 Uhr
Then you did something wrong with your .htaccess file. Please check out the Wiki and have a look to your .htaccess file. http://wiki.clansphere.de/mod_rewrite (Sorry, there isn't an english translation at this time) Your .htaccess should look like this: ## Comment out the needed lines and save it as ".htaccess" to use ClanSphere with mod_rewrite ## You need at least Apache 1.3 or newer to use the following! ## Documentation = http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html ## Uncomment the next line when symlinks are not set in Apache configuration #Options +FollowSymLinks ## Uncomment the next line to enable the usage of mod_rewrite (needed) RewriteEngine on ## Uncomment the next line to inherit mod_rewrite rules set in Apache configuration #RewriteOptions inherit ## Uncomment the next line and update the path to use the clansphere directory if you move this file #RewriteBase / ## Uncomment this to prevent overcuttings between real directories/files and virtual ones (needed) RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f ## Uncomment the line and edit the php index files that should be accessible by the mod_rewrite rule (needed) RewriteRule ^(admin|board|debug|index|content)(.*)$ $1.php?params=$2 [NC,L] Normaly, when you activate mod_rewrite and rename ".htaccess_example" to ".htaccess" it should work without any problems. Or your provider doesn't support mod_rewrite. You should check these two steps. ------------------ "God created the universe in 1 Day, and then spent 5 days making it look good In Internet Explorer" Zuletzt editiert von Nachtmeister am 06.02.2009 um 13:39 Uhr (3x Editiert) |
Inaktiv |
|
stevebluck2 Thread-Ersteller Wannabe poster Beiträge: 20 |
# Antwort: 4 - 06.02.2009 um 13:43 Uhr
I have done exactly this and I get this error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster (at) extendcp (dot) co (dot) uk and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2 Server at xx.xxx.xx.xxx Port xx It is on a temporary domain like this: 123.12.12.12:12/steve.com/index.php Would this break it? I have used mod rewrite on this host before and it has worked fine. I have just confirmed with my host, that they do support mod_rewrite. So any ideas? Zuletzt editiert von stevebluck2 am 06.02.2009 um 13:50 Uhr (2x Editiert) |
Inaktiv |
|
Nachtmeister Specialist Herkunft: Bern Beiträge: 2091 |
# Antwort: 5 - 06.02.2009 um 13:50 Uhr
Try to the change the "RewriteBase /" part. Delete the # before That is what I would to try at your place. But I think, other people have more clue to this topic than me. ------------------ "God created the universe in 1 Day, and then spent 5 days making it look good In Internet Explorer" Zuletzt editiert von Nachtmeister am 06.02.2009 um 13:50 Uhr (2x Editiert) |
Inaktiv |
|
stevebluck2 Thread-Ersteller Wannabe poster Beiträge: 20 |
# Antwort: 6 - 06.02.2009 um 13:51 Uhr
Do i need to add anything to the line "RewriteBase /" other then delete the # ? |
Inaktiv |
|
Nachtmeister Specialist Herkunft: Bern Beiträge: 2091 |
# Antwort: 7 - 06.02.2009 um 13:59 Uhr
RewriteBase should be the absolutepath of your server http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritebase Hope that link help you. I'm not really bigger into this topic than you btw. Duriel: whats "SEO Friendly URL's"? These are Search Engine Optimized URL's. ------------------ "God created the universe in 1 Day, and then spent 5 days making it look good In Internet Explorer" Zuletzt editiert von Nachtmeister am 06.02.2009 um 14:00 Uhr (2x Editiert) |
Inaktiv |
|
stevebluck2 Thread-Ersteller Wannabe poster Beiträge: 20 |
# Antwort: 8 - 06.02.2009 um 14:06 Uhr
I have tried this on many websites with clansphere, all display the 500 internal server error - I am using the same host for them and they do support mod_rewrite as i Have non clansphere websites on the same host using it. CAN ANYONE HELP? Any help would be very helpful Zuletzt editiert von stevebluck2 am 06.02.2009 um 15:41 Uhr (4x Editiert) |
Inaktiv |
|
Denni Specialist Herkunft: Ilsfeld Beiträge: 1972 |
# Antwort: 9 - 06.02.2009 um 23:30 Uhr
can you please give us the link to your page? ------------------ Gruß Denni ClanSphere - Makes your website a playmate, just dress her |
Inaktiv |
|
Ramires Supporter Herkunft: Waldeck Beiträge: 1900 |
# Antwort: 10 - 06.02.2009 um 23:59 Uhr
[OT] and by the way, many of your templates designed for csp delivered without any "scriptinfo" please check this, and this out,... http://www.clansphere.de/support/static/view/id/6 then you can get further support[/OT] ------------------ Verschwende keine Energie an Dinge die Du nicht ändern kannst... Zuletzt editiert von Ramires am 07.02.2009 um 00:04 Uhr (2x Editiert) |
Inaktiv |
|
Antworten: 10
Seite [1] |
Sie müssen sich registrieren, um zu antworten. |