index.php
and archive.php
might be the same but don’t have to be the same. index.php
will display your blog post archive and in the absence of archive.php
(or other more specific archive files) it will display your date, author, etc. archives as well. But it doesn’t have to.
You can, if you want, display your archived differently that your main blog index. That is the point of those specialized files– they allow you to alter the look of specific pages without having to write complicated conditionals into the index.php
file.
The difference between the two files is what you make of it. That difference can be a lot or none.
Reference
Related Posts:
- How to Get The Excerpt of the page that displays Blog Posts
- Is there a way to multiply archive loop results sequentially?
- How to prevent archiving and search engine caching in a free WordPress blog?
- Check if current page is the Blog Page
- How can I lock down an old wordpress install I don’t intend to update?
- 404 Error On Category and Tags Pages
- WordPress Posts By Date/Day?
- I put my blog on a subpage, how do I get page title?
- How can I get the Month Name from Archive?
- Preventing 404 error on empty date archive
- Including post_type = ‘wiki’ in author archives
- Archive filtering posts by year and month
- How to get the date dynamically from archive.php to date.php?
- How can I change the way dates shown in the archive widget?
- how do I get the date in a date archive page
- Archive in sidebar with dropdown list of Year – Month – Day
- How can I organize/create an archive listing by Year and month
- Change behavior depending on content length
- How to edit archive page’s content inside wordpress dashboard?
- Archive pages for posts based on their taxonomy?
- How can I get archives for specific category without category_base in the url?
- Remove author archive
- Preview Post/Custom Post types in Archive
- Displaying year, month and day archives differently
- When i try to open archive pages i get a 404 error
- How to show year/month archive including months with no posts
- Archive links don’t work when clicked
- wp_get_archives() display months even if there is no posts
- how do I encode links to specific archive searches?
- Some archive by year page return 404
- Group Posts by Category in Monthly Archive
- Loop through years and months in WordPress archives
- Dropdown to select posts by month and then displaying those posts in the archive page
- How to filter by date & a specific custom post type post-WP 4.4?
- Having a problem with Next and Previous Links
- ‘Archive’ folder for posts and pages
- Filter post by clickable year [duplicate]
- Wrap the “show_post_count” between div
- Is a list page usually called an archive page in WordPress?
- Get current title of archive.php
- How to show months in wordpress archive page?
- I want my yearly archives to show a list of all posts
- How can I modify this to show number of posts-per-month?
- How to count the number of archives there are
- Get archives as array
- Archive page showing wrong month
- Create an archive listing based on meta array
- Can’t Access Sessions or Variables through pages
- How to make an archive page template using WordPress 3
- How to display an archive with multiple authors
- Why is my archive.php redirecting to front-page.php?
- Where is the content that is outputted by get_the_archive_description()?
- Create simple columned archive page
- Customizing a blog page layout
- I created a normal page, but the page displays as an archive page
- How to hide specific post type from archive?
- On my archives page, I can’t see my custom post types catergories
- How to get the Custom Post Type Archive inside a folder
- WordPress archives in header -necessary?
- How to set a certain Custom Template to a Single Blog Post
- Blog pages show at most unrecognized by code
- Combining custom taxonomy posts with default posts on one archive page
- Create a custom URL for blog archive
- Any kind of custom post type in the front page and in the archive listing
- Custom archive pages without “the loop”
- How to get type of archive whether it is post or date or category archive?
- Display an archives name
- How can I create a master archive?
- Over 500.000(!) unwanted archive pages, major duplicate content problem
- Link back to (paged) archive and find the correct page
- “Blog pages show at most” in setting not working
- How can I show a list of posts using the dynamic selection box?
- blog post not accesible on click [closed]
- How can I noindex my archive pages?
- I want to be able to access archives to see how recently a post has been read: How can I do that?
- google index an Post type page I do not want
- WordPress blog posts template bug [closed]
- Change Title Based on Taxonomy Filter in archive-{cpt}.php
- Redirect Category pages to blog page with query string
- Blog post Links leading to home page [closed]
- How to remove or hide archive page?
- How to put the WordPress blog into theme
- Why the blog posts is not showing?
- How can I modify wp_get_archives() to not use archive.php template?
- Archives widget doesn’t work?
- Archive – Show Video from First Post
- Missing content on author archive page
- Yearly Archive Page?
- Page updates appear in Preview but not live version?
- Posts page drop down is not selecting the selected page
- date.php shows only three posts’ title. how to fix it?
- How to hide the year in archive link
- Show recent posts in single-post page
- How to edit wordpress post without republishing
- Is each issue of a magazine site a static page
- How can i display in themplate file only a few post
- how to hide all posts under one category
- How to remove “Archives” after category name?
- Filter the post listing for a particular category from archive month list
- How to have infinite scroll consider passed parameters?