Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8561597
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T16:32:07+00:00 2026-06-11T16:32:07+00:00

Before I get bombarded with RTMs, I did google this, but all I got

  • 0

Before I get bombarded with RTMs, I did google this, but all I got was tutorials on how to install themes.

I have to change a link for a friend’s website. Normally I would just ssh into the server issue the command vim index.html and change the <a href='this.html'>This<\a> to
<a href='that.html'>That<\a>, but wordpress is really doing my head in. Changing the link in the index.html file has no affect, and furthermore I can tell that there are some differences that lead me to believe that it is not being used at all

So the first thing I looked at is the .htaccess file:

DirectoryIndex index.php index.html

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Next I looked at the index.php file:

<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define('WP_USE_THEMES', true);

/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');

So next I went to wp-blog-header.php then wp-config.php then I just gave up.

What I want to know is what exactly wordpress templates do. Do they just set up some of the CSS code and make it easier to link to blogs and facebook? What I was looking for was something in the wordpress Dashboard resembling this:

Main Page = index.html

But nothing like that exists. There is, under the pages tab a “home” page, and that definitely is the “home page” I enter, but the html code displayed for it in WordPress does not match the HTML code when I click “view page source”. So where exactly is this new code being generated? I need to intercept it somehow and change the link.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T16:32:08+00:00Added an answer on June 11, 2026 at 4:32 pm

    WordPress themes are based on template files which are loaded automatically depending on the content. There are lots of different possibilities, but generally speaking the index.php is what is called for all requests, and then loads the appropriate template files. The files will be located in wp-content/themes/YOURTHEME

    • header.php is called from most pages and defines the top part of the template
    • footer.php is called from most pages and defines the bottom part of the template
    • page.php defines the content section for “page” post types
    • category.php defines the content section for “categories”

    Other files may define custom templates which are then used for particular pages by selecting that template on the right side of the page editor in the WordPress Admin.

    You can find more info on WordPress theme templates here: http://codex.wordpress.org/Template_Hierarchy

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am risking this question being closed before i get an answer, but i
Before you all get pissy about me posting this question again, let me explain
I'm trying change text before I get feeds. But the text changes after I
Before I get to my issue, I have searched around for an answer but
Before I get flamed with references to manuals, I have been researching this for
I am using li::before to get rid of some content, but this code works
I know this has been asked before ( Get Absolute Position of element within
Before I get anywhere with this post, let me make this clear, there is
Right, before we get off about merged cells, I hate them too, but I've
First of all, I want to make something clear before I get yelled at:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.