| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 156,520
» Latest member: sc88cheap
» Forum threads: 7,217
» Forum posts: 41,906
Full Statistics
|
| Latest Threads |
Vn5socks.net - Service Se...
Forum: Proxy Offers
Last Post: vn5socks.net
1 hour ago
» Replies: 471
» Views: 151,388
|
High-Performance 10gbps, ...
Forum: Web Hosting Offers
Last Post: AYKS
2 hours ago
» Replies: 0
» Views: 10
|
IPRocket: Fast, Secure, a...
Forum: Proxy Offers
Last Post: IPRocketsale
2 hours ago
» Replies: 504
» Views: 172,645
|
Google SERP Changes & Alg...
Forum: SEO General
Last Post: danik
Yesterday, 02:33 PM
» Replies: 28
» Views: 2,467
|
Hong Kong Dedicated Serve...
Forum: Dedicated Server
Last Post: laoling
Yesterday, 09:52 AM
» Replies: 3
» Views: 118
|
Blazing fast server hosti...
Forum: Dedicated Server
Last Post: Pteneco
Yesterday, 08:17 AM
» Replies: 2
» Views: 245
|
Low cpost VPS for Germany
Forum: VPS Hosting
Last Post: Pteneco
Yesterday, 08:16 AM
» Replies: 4
» Views: 194
|
GTHost Reviews
Forum: Web Hosting Forum
Last Post: Host
Yesterday, 08:01 AM
» Replies: 2
» Views: 62
|
Domainkeskus Reviews
Forum: Domains
Last Post: henry
Yesterday, 06:50 AM
» Replies: 1
» Views: 92
|
HostingSource Reviews
Forum: Web Hosting Forum
Last Post: Host
Yesterday, 06:24 AM
» Replies: 0
» Views: 33
|
|
|
| Homepage or Landing page |
|
Posted by: glight - 02-24-2017, 06:50 AM - Forum: Conversion Optimization
- Replies (2)
|
 |
If say I am about to start an campaign for my affiliate products. Then where should I be driving the traffic to? Homepage or Landing Page. Landing page describes only a specific product but homepage represents the entire product line.
|
|
|
|
| Redirects |
|
Posted by: danni - 02-23-2017, 04:07 AM - Forum: Blog Management & Promotion
- Replies (3)
|
 |
Here are some common redirects that are used almost often my webmasters and site owners. So, decided to provide the codes of them.
PHP Single Page Redirect
You have to insert this code in index.php file.
Quote:<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: <!-- m --><a class="postlink" href="http://www.newdomain.com/page.html">http://www.newdomain.com/page.html</a><!-- m -->");
exit();
?>
PHP Canonical Redirect
This add or removes the 'www' prefix of your domain.
Quote:<?php
if (substr($_SERVER['HTTP_HOST'],0,3) != 'www') {
header('HTTP/1.1 301 Moved Permanently');
header('Location: <!-- m --><a class="postlink" href="http://www.'.$_SERVER">http://www.'.$_SERVER</a><!-- m -->['HTTP_HOST']
.$_SERVER['REQUEST_URI']);
}
?>
.htaccess Singe Page Redirect
Insert this code in your .htaccess file
Quote:Redirect 301 /old/oldpage.htm /new/http://www.domain.com/newpage.htm
.htaccess Canonical Redirect
Quote:Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^domain.com [nc]
rewriterule ^(.*)$ <!-- m --><a class="postlink" href="http://www.domain.com/$1">http://www.domain.com/$1</a><!-- m --> [r=301,nc]
|
|
|
|
|