User
Pass
2FA
 
 

.htaccess Ajutor

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash -> Programming / Scripting / Database
Author Message966
icezone

[Mentally Stable]



Status: Offline
(since 13-04-2020 17:12)
Joined: 31 Jul 2009
Posts: 59, Topics: 23
Location: C:\windows\HERE

Reputation: 239.4
Votes: 8

Post Posted: 14-06-2014, 18:36:15 | Translate post to: ... (Click for more languages)

Salut !
Am un site de info filme ... am schimbat scriptul dar acum vreau sa redirectionez paginile vechi care sunt indexate pe google in search.
Vechile linkuri sunt asa :
Code:
en/movie/141971/Blackout-2008

Cum pot sa redirectionez spre acest link doar numele filmului "Blackout" :
Code:
search?q=%


Am incercat asa :
Quote:
Options +FollowSymlinks
rewritecond %{http_host} ^isearchmovies.ws [nc]
RewriteRule ^en/movie/(.*)/(.*)-(.*)$/ search?q=$2 [L,R=301]
RewriteRule ^en/movie/(.*)/(.*)-(.*)$ search?q=$2 [L,R=301]


dar nu prea functioneaza .....

.htaccess original de la noul script este :
Code:
<IfModule mod_rewrite.c>
    <IfModule mod_negotiation.c>
        Options -MultiViews
    </IfModule>

    RewriteEngine On

    # Redirect Trailing Slashes...
    RewriteRule ^(.*)/$ /$1 [L,R=301]

    # Handle Front Controller...
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^ index.php [L]
</IfModule>


Multumesc !


hast
0 0
  
Back to top
View user's profile Send private message
icezone

[Mentally Stable]



Status: Offline
(since 13-04-2020 17:12)
Joined: 31 Jul 2009
Posts: 59, Topics: 23
Location: C:\windows\HERE

Reputation: 239.4
Votes: 8

Post Posted: 02-07-2014, 21:34:07 | Translate post to: ... (Click for more languages)

posibil ca Freakz.ro sa fii murit ?

hast
0 0
  
Back to top
View user's profile Send private message
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> Trash -> Programming / Scripting / Database  


The time now is 04-12-2024, 03:24:19
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password