Results 1 to 2 of 2

Thread: htacces code wordpress

  1. #1
    Join Date
    Aug 2014

    htacces code wordpress

    Hi, I'm Toni and I'm new to this forum.

    I have a question with this .htacces code of my wordpress. I'm not a programer, for this I would like to know if there is any error in the following code:

    RewriteEngine On
    RewriteCond %{SERVER_PORT} 80
    RewriteRule ^(.*)$ https://exemple.com/$1 [R,L]
    Options +FollowSymLinks
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www.offdesign.es [NC]
    RewriteRule (.*) http://exemple.com/$1 [L,R=301]
    RewriteEngine on
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://exemple.com/$1 [R=301,L]
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    # END WordPress

    Thank you so much!!

  2. #2
    Join Date
    Aug 2014
    why offdesign did not replave with exemple

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center