Adult Script Pro Community Forums

The forum is here for legacy reasons. No new posts will be created. User registration is disabled! If you have any questions, please email us or check https://www.adultscriptpro.com for more details!

You are not logged in.

#1 2013-10-28 14:56:59

Nuevolab
Member
Registered: 2012-08-01
Posts: 189

Website URL

Dear Symtab,
I don't have big impact on your script's users, so this is request to you.

Please inform people or make it as requirement, or make it/suggest programmatically,
so website based on ASP script was accessible public only under 1 URL, with or without 'www'

I'm sure you know how important this is for SEO,
but it can be also important for other purpose.

There can be javascripts that need to read or open data from same website.
But for example, if javascript executed without "www" later attempt to open, read, assign some file with "www", this will be javascript security violation and the script will fail.
Such situation may happen with my Nuevoplayer, but also with JW or Flow players if someone decides for more advanced usage of such software.


The most simple way suggested is to do it in .htaccess

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
    RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301] 

But not everyone runs Apache....


Thanks for attention.

Last edited by Nuevolab (2013-10-28 15:01:38)

Offline

Board footer

Powered by FluxBB