GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Wordpress guys, need your little help (https://gfy.com/showthread.php?t=1283256)

mightyjoe 10-31-2017 05:29 PM

Wordpress guys, need your little help
 
What is the extension name of a wordpress page?
like:
mysite.com/page/2

I tried mysite.com/page/2/index.php, mysite.com/page/2/page2.php, mysite.com/page/2/page-2.php but not working.

Anybody knows? Thanks

sarettah 10-31-2017 05:41 PM

The base for the ones I know is Website Hosting - Mysite.com

But I do not know if that is correct for all or not.

.

HairyChick 10-31-2017 06:10 PM

I believe you set it in Permalinks

trevesty 10-31-2017 06:26 PM

Quote:

Originally Posted by sarettah (Post 22057582)
The base for the ones I know is Website Hosting - Mysite.com

But I do not know if that is correct for all or not.

.

This is correct.

When it becomes site.com/page/2/, it's from mod_rewrite or the equivalent in nginx. that's to say, there's no site.com/page/2/index.php since /page/2/ is just a rewrite of /?p=2

hdbuilder 10-31-2017 07:12 PM

There is none, its virtual... Created by an htaccess rule

Barry-xlovecam 10-31-2017 08:33 PM

It may be this
https://stackoverflow.com/questions/...owoverride-all

mightyjoe 11-01-2017 12:23 AM

Quote:

Originally Posted by hdbuilder (Post 22057676)
There is none, its virtual... Created by an htaccess rule

I want to put nofollow or noindex on my site.com/page/2/, how can I do that so not all the links inside page 2 will not affected by nofollow? I want google bot not follow only page/2?

eg:

User-agent: *
Disallow: /~page/2

to

User-agent: *
Disallow: /~page/2.(?)


All times are GMT -7. The time now is 04:29 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123