Visar inlägg med etikett PHP Link Directory SEO. Visa alla inlägg
Visar inlägg med etikett PHP Link Directory SEO. Visa alla inlägg

måndag, augusti 15, 2011

Googles nya sitelinks (webbplatslänkar)

Det var första gången jag såg det idag, men efter att ha kollat runt lite så verkar Googles nya sitelinks ha varit aktiva i minst någon vecka. Söker man på ett t ex ett företagsnamn får man numera en lång lista på undersidor på webbplatsen som man kanske vill gå direkt till. Jag gissar de sidor som visas i Googles sitelinks är sidor som de värderat som viktiga genom både länkar på sajten, samt länkar från andra sajter.
För att styra dessa webbplatslänkar för sin egen sajt kan man gå in på Googles Verktyg för webbansvarig och ändra under Webbplatskonfiguration -> Webbplatslänkar.

fredag, mars 05, 2010

How to use Wordpress together with phpLD (PHP Link Directory)

I had a problem trying to host a Wordpress blog on the same domain as PHP Link Directory.
When I tried to use search engine friendly URLs (permalinks) on both Wordpress and phpLD the URLs wasn't corretly redirected. It did work if I didn't use SEF URLs on Wordpress.

To solve this problem I had to create (change if you already have one) a .htaccess file in the directory my Wordpress installation was placed.

Example:
Your link directory is placed in the root: http://www.rootphpld.com/
Your Wordpress blogg is placed in the "blog" directory: http://www.rootphpld.com/blog/

In the "blog" directory you put the .htaccess file with the following information (If WordPress installed in a subdirectory called "blog". Change blog to whatever the namn is of your blog directory) :
# BEGIN WordPress

RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]

# END WordPress