hemen deniyorum sagolasin!!!

Ek Olarak:

ntka adlı üyeden alıntı

Dynamic URL :

http://freewebmentor.com/page.php?id=251

SEO friendly URL :

http://freewebmentor.com/drupal-tutorial-beginners-step-step.html

Create a .htaccess file.

Add bellow code in your .htaccess file and upload on root folder of your website.


#Options +FollowSymLinks
RewriteEngine on
RewriteRule page-id-(.*)\.html$ page.php?id=$1

çok sade şekilde anlatılmış.

http://freewebmentor.com/2013/11/seo-friendly-url-using-htaccess.html


maalesef yine calismadi...

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin 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.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


Hatasi aliyorum..

Ben wordpress'de kendi url-friendly ayarini yaptigimda kendiliginden

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress


Bu kodu olusturuyor

Bu kodun altina

#Options +FollowSymLinks
RewriteEngine on
RewriteRule page-id-(.*)\.html$ page.php?id=$1


ekledigimde yani

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

#Options +FollowSymLinks
RewriteEngine on
RewriteRule page-id-(.*)\.html$ dosya.php?id=$1


calismiyor :S