.htaccess required by Spinning Addon

Content Rotation[Body,Subject,Signature,URL]

.htaccess required by Spinning Addon

Postby MaBoRaK » Mon Mar 23, 2015 9:25 am

loading........

In this thread I will update the official .htaccess content required by Spinning Addon to work with the URL Masquerade (AKA: SEO Links):

.htaccess

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]
#NORMAL

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]


#SALT

RewriteRule ^[a-zA-Z0-9]{4}L([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}H\.html$ link.php?M=$1&N=$2&L=$3&F=H [QSA,L]
RewriteRule ^[a-zA-Z0-9]{4}L([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}T\.txt$ link.php?M=$1&N=$2&L=$3&F=T [QSA,L]
RewriteRule ^[a-zA-Z0-9]{4}L([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}T\.html$ link.php?M=$1&N=$2&L=$3&F=T [QSA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|\|][a-zA-Z0-9]{4}([a-z0-9]{32}+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)\.html$ display.php?M=$1&C=$2&L=$3 [QSA,L]        #Display CLEAN VERSION
RewriteRule ^[a-zA-Z0-9]{4}F([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([a-z0-9]{32}+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)\.html$ sendfriend.php?M=$1&C=$2&L=$3&N=$4&F=$5&i=$6 [QSA,L]
RewriteRule ^[a-zA-Z0-9]{4}C(.*?)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([a-z0-9]{32}+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)\.html$ confirm.php?E=$1&C=$2&L=$3 [QSA,L]
RewriteRule ^[a-zA-Z0-9]{4}CF(.*?)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([a-z0-9]{32}+)\.html$ confirm.php?E=$1&C=$2 [QSA,L]

RewriteRule ^form\-signup([0-9]+)\.html$ admin/index.php?Page=Forms&Action=View&id=$1 [QSA,L]

#AUTORESPONDERS

RewriteRule ^[a-zA-Z0-9]{4}LA([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}H\.html$ link.php?M=$1&A=$2&L=$3&F=H [QSA,L]
RewriteRule ^[a-zA-Z0-9]{4}LA([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}T\.txt$ link.php?M=$1&A=$2&L=$3&F=T [Q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9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)\.html\&rs=(.*)$ display.php?M=$1&C=$2&S=$3&L=$4&A=$5&rs=$6 [QSA,L]
RewriteRule ^[a-zA-Z0-9]{4}FA([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([a-z0-9]{32}+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)[\/|\-|_|\.|\|][a-zA-Z0-9]{4}([0-9]+)\.html$ sendfriend.php?M=$1&C=$2&L=$3&A=$4&F=$5&i=$6 [QSA,L]
</IfModule>


You need to place this file in the Interspire folder base ( More info: Here

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

Re: .htaccess required by Spinning Addon

Postby Osensnolf » Mon Mar 23, 2015 10:35 am

Have you (or anyone else) found an advantage or Use .html instead of .txt?
Osensnolf
 
Posts: 82
Joined: Tue Dec 24, 2013 3:28 pm

Re: .htaccess required by Spinning Addon

Postby triggaz » Fri Sep 11, 2015 10:53 pm

Hi we have set .htaccess as posted but using seo links ends up with not working links in all email we sent,

Not Found

The requested URL /MqHFF743-UiYF295343e3e9d160df931035573ec06efb.vkyV3.OglR78/TovY4_Asjd23.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Any help would be great :)
triggaz
 
Posts: 11
Joined: Wed Sep 02, 2015 4:53 pm

Re: .htaccess required by Spinning Addon

Postby Osensnolf » Mon Sep 14, 2015 7:38 pm

Are you sending email using the main Interspire Email Marketer URL or a cluster (or another URL)?

Make sure Interspire Email Marketer is uploaded onto that server in the same path (ie: /Interspire Email Marketer/)
Osensnolf
 
Posts: 82
Joined: Tue Dec 24, 2013 3:28 pm

Re: .htaccess required by Spinning Addon

Postby triggaz » Tue Sep 15, 2015 4:01 pm

We are using Multiple MTA addon plus PMTA with 3 different domains (3x16 subdomains per mta group) so the links are rotated per mta, Interspire Email Marketer is loaded in the main folder of it's domain which is different than those used for mta's.
triggaz
 
Posts: 11
Joined: Wed Sep 02, 2015 4:53 pm

Re: .htaccess required by Spinning Addon

Postby Osensnolf » Tue Sep 15, 2015 10:04 pm

If your Interspire Email Marketer is in the /Interspire Email Marketer/ folder, your domain is domain.com/Interspire Email Marketer. When you add a domain to spin, you just add domain.com (the addon knows to add /Interspire Email Marketer to the end of it).

Does it work if you send from the main Interspire Email Marketer server?

Maybe your config file on the other servers is not correct. It should have the IP address for your main serer as well as the DB username and DB password.
Osensnolf
 
Posts: 82
Joined: Tue Dec 24, 2013 3:28 pm

Re: .htaccess required by Spinning Addon

Postby triggaz » Thu Sep 17, 2015 8:59 am

Yes it works when we use default mail settings,

on each mta account we hve those files copied:
config.php
confirm.php
display.php
htaccess
link.php
modifydetails.php
open.php
rss.php
sendfriend.php
surveys.php
unsubform.php
unsubscribe.php
unsubscribe_common.php

config.php looks like this:
<?php
define('ORIGINAL_WEBSITE', 'http://"IEM-domain.com"/');
?>
triggaz
 
Posts: 11
Joined: Wed Sep 02, 2015 4:53 pm

Re: .htaccess required by Spinning Addon

Postby triggaz » Thu Sep 17, 2015 9:03 am

"Yes it works when we use default mail settings,

on each mta account we hve those files copied:
config.php
confirm.php
display.php
htaccess
link.php
modifydetails.php
open.php
rss.php
sendfriend.php
surveys.php
unsubform.php
unsubscribe.php
unsubscribe_common.php

config.php looks like this:
<?php
define('ORIGINAL_WEBSITE', 'http://"IEM-domain.com"/');
?>"

But open and click stats do not work if seo links are used.
triggaz
 
Posts: 11
Joined: Wed Sep 02, 2015 4:53 pm


Return to Spinning

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest

cron