Title: Google friendly redirection
Last modified: August 19, 2016

---

# Google friendly redirection

 *  [baal666](https://wordpress.org/support/users/baal666/)
 * (@baal666)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/google-friendly-redirection/)
 * Hi,
 * I moved from uhec.net to lelectronlibre.net and simply used domain pointed from
   the first one to the second one. But after testing on some site it seems this
   is not search engine friendly.
 * I tried to modify .htaccess but it didn’t work correctly.
 * Here is my current .htaccss:
 *     ```
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       ```
   
 * I tried to add this
 *     ```
       Options +FollowSymLinks
       RewriteEngine on
       RewriteRule (.*) http://lelectronlibre.net/$1 [R=301,L]
       ```
   
 * somewhere but it failed.
 * Any idea how I can get the pagerank from my old site to my new site?
 * Thanks!

Viewing 1 replies (of 1 total)

 *  Thread Starter [baal666](https://wordpress.org/support/users/baal666/)
 * (@baal666)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/google-friendly-redirection/#post-1006520)
 * Well I tried this:
 *     ```
       RewriteCond %{HTTP_HOST} ^.*uhec\.net$ [NC]
       RewriteRule ^(.*)$ http://lelectronlibre.net/$1 [R=301,L]
   
       # BEGIN WordPress
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteBase /
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
       </IfModule>
       ```
   
 * But I am not sure if it works… Any way it is all on the same server; only changed
   the name but kept the same server.

Viewing 1 replies (of 1 total)

The topic ‘Google friendly redirection’ is closed to new replies.

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [baal666](https://wordpress.org/support/users/baal666/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/google-friendly-redirection/#post-1006520)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
