Enabling SEO links

Content Rotation[Body,Subject,Signature,URL]

Enabling SEO links

Postby MaBoRaK » Thu Sep 11, 2014 1:08 am

loading......

Hello folks, to enable seo links with Spinning addon you need to:

Edit the file: spins/config/config.php
Change the code:
Code: Select all
define("ADDON_SPINS_URL_SEO",false);
define("ADDON_SPINS_URL_SEO_SEPARATOR","-");
define("ADDON_SPINS_URL_SEO_TXT_LINK_EXTENSION",".html"); //can be .txt
define("ADDON_SPINS_URL_SEO_HTML_LINK_EXTENSION",".html");


to

Code: Select all
define("ADDON_SPINS_URL_SEO",true);  //<-- set to TRUE
define("ADDON_SPINS_URL_SEO_SEPARATOR","-"); //<-- the SEO separator, actually supports: "/" "-" "_" "." "|"
define("ADDON_SPINS_URL_SEO_TXT_LINK_EXTENSION",".html"); //can be .txt
define("ADDON_SPINS_URL_SEO_HTML_LINK_EXTENSION",".html");


Edit the file: /path/to/i.em/.htaccess
and add:
Code: Select all
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^L([0-9]+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]H\.html$ link.php?M=$1&N=$2&L=$3&F=H [QSA,L]

RewriteRule ^L([0-9]+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]T\.txt$ link.php?M=$1&N=$2&L=$3&F=T [QSA,L]
RewriteRule ^L([0-9]+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]T\.html$ link.php?M=$1&N=$2&L=$3&F=T [QSA,L]


RewriteRule ^O([0-9]+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|](H|T)\.jpg$ open.php?M=$1&L=$2&N=$3&F=$4&image=.jpg [QSA,L]
RewriteRule ^U([0-9]+)[\/|\-|_|\.|\|]([a-z0-9]{32}+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]([0-9]+)\.html$ unsubscribe.php?M=$1&C=$2&L=$3&N=$4 [QSA,L]
RewriteRule ^U([0-9]+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]([a-z0-9]{32}+)\.html$ unsubscribe.php?&M=$1&L=$2&C=$3 [QSA,L]
RewriteRule ^D([0-9]+)[\/|\-|_|\.|\|]([a-z0-9]{32}+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]([0-9]+)\.html$ display.php?M=$1&C=$2&S=$3&L=$4&N=$5 [QSA,L]
RewriteRule ^D([0-9]+)[\/|\-|_|\.|\|]([a-z0-9]{32}+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]([0-9]+)\.html\&rs=(.*)$ display.php?M=$1&C=$2&S=$3&L=$4&N=$5&rs=$6 [QSA,L]


RewriteRule ^F([0-9]+)[\/|\-|_|\.|\|]([a-z0-9]{32}+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]([0-9]+)[\/|\-|_|\.|\|]([0-9]+)\.html$ sendfriend.php?M=$1&C=$2&L=$3&N=$4&F=$5&i=$6 [QSA,L]


</IfModule>


Thats all, cheers.

connection closed.
CEO in Maborak Technologies and Interspire Addons Developer
MaBoRaK
Site Admin
 
Posts: 120
Joined: Thu Jul 18, 2013 10:41 am

Re: Enabling SEO links

Postby brianhill » Fri Sep 26, 2014 2:26 am

Do i need to change the DNS of added domain or subdomains in order to make it work?
brianhill
 
Posts: 1
Joined: Sat Aug 16, 2014 2:36 pm


Return to Spinning

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest

cron