hello all i need help to fix it when i like some post in my site everything is fine but when i click on post i get broken url example: my .htaccess # ========================================================================= # Files protection # ========================================================================= <FilesMatch "\.(jpg|jpeg|png|gif|swf)$"> Header set Cache-Control "max-age=604800, public" </FilesMatch> <FilesMatch "\.(xml|txt|css|js)$"> Header set Cache-Control "max-age=172800, proxy-revalidate" </FilesMatch> <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/xml text/css text/plain AddOutputFilterByType DEFLATE img/svg+xml application/xhtml+xml application/xml AddOutputFilterByType DEFLATE application/rdf+xml application/rss+xml application/atom+xml AddOutputFilterByType DEFLATE text/javascript application/javascript application/x-javascript AddOutputFilterByType DEFLATE application/x-font-ttf application/x-font-otf AddOutputFilterByType DEFLATE font/truetype font/opentype </IfModule> # ========================================================================= # Error handler # ========================================================================= # Change the site path if needed # Example: # ErrorDocument 404 /folder/index.php?cont=error # ------------------------------------------------------------------------- ErrorDocument 500 /index.php?cont=error&cod=500 ErrorDocument 404 /index.php?cont=error&cod=404 ErrorDocument 403 /index.php?cont=error&cod=403 ErrorDocument 401 /index.php?cont=error&cod=401 ErrorDocument 400 /index.php?cont=error&cod=400 # ========================================================================= # Url rewrite # ========================================================================= <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^([^/\.]+)/arcade/gamedata/([_A-Za-z0-9-]+)/([_A-Za-z0-9-]+)\.([_A-Za-z0-9-]+)$ arcade/gamedata/$2/$3.$4 [L] RewriteRule ^([^/\.]+)/index\.php index.php # ------------------------------------------- # Change the site path if needed # Example: RewriteBase /folder/ # ------------------------------------------- RewriteBase / # Block queries containing http(s):// or ftp:// RewriteCond %{QUERY_STRING} (.*)(http|https|ftp):\/\/(.*) RewriteRule ^(.+)$ - [F] # Block libwww-perl user agent RewriteCond %{HTTP_USER_AGENT} ^libwww-perl RewriteRule ^(.+)$ - [F] # Mod-rewrite RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php?cont=$1 [L,QSA] </IfModule> PHP: